fix(ci): Updated architecture types to align docker image. 🔧
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2024-04-02 22:11:58 +13:00
parent d701ce2352
commit 913783cf08
3 changed files with 33 additions and 40 deletions

View File

@@ -26,7 +26,7 @@ steps:
GOOS=linux
GOARCH=amd64
CGO_ENABLED=0
go build -o build/go-semantic-release.linux_x86_64 -ldflags "-w -s --X main.version=`go-semantic-release next`"
go build -o build/go-semantic-release.linux_amd64 -ldflags "-w -s --X main.version=`go-semantic-release next`"
./cmd/go-semantic-release/
- >
GOOS=linux
@@ -44,13 +44,13 @@ steps:
GOOS=windows
GOARCH=amd64
CGO_ENABLED=0
go build -o build/go-semantic-release.windows_x86_64.exe -ldflags "-w -s -X main.version=`go-semantic-release next`"
go build -o build/go-semantic-release.windows_amd64.exe -ldflags "-w -s -X main.version=`go-semantic-release next`"
./cmd/go-semantic-release/
- >
GOOS=darwin
GOARCH=amd64
CGO_ENABLED=0
go build -o build/go-semantic-release.darwin_x86_64 -ldflags "-w -s -X main.version=`go-semantic-release next`"
go build -o build/go-semantic-release.darwin_amd64 -ldflags "-w -s -X main.version=`go-semantic-release next`"
./cmd/go-semantic-release/
- go-semantic-release --loglevel debug release # Actually make the release on Gitea. Uploading assets
environment:
@@ -64,25 +64,25 @@ steps:
- push
- manual
# publish-docker-tagged:
# image: docker.io/cybercinch/woodpecker-plugin-depot
# pull: true
# settings:
# <<: *docker_creds
# token:
# from_secret: depot_token
# repohost: hub.cybercinch.nz
# repo: cybercinch/${CI_REPO_NAME}
# project:
# from_secret: depot_project
# dockerfile: Dockerfile
# push: true
# platforms: *platforms
# tags: ["latest", "$CI_COMMIT_TAG"]
# when:
# branch: ${CI_REPO_DEFAULT_BRANCH}
# event:
# - tag
publish-docker-tagged:
image: docker.io/cybercinch/woodpecker-plugin-depot
pull: true
settings:
<<: *docker_creds
token:
from_secret: depot_token
repohost: hub.cybercinch.nz
repo: cybercinch/${CI_REPO_NAME}
project:
from_secret: depot_project
dockerfile: Dockerfile
push: true
platforms: *platforms
tags: ["latest", "$CI_COMMIT_TAG"]
when:
branch: ${CI_REPO_DEFAULT_BRANCH}
event:
- tag
publish-docker-develop:
image: docker.io/cybercinch/woodpecker-plugin-depot