You've already forked go-semantic-release
fix(ci): Update woodpecker config. Try gitea release 🔧
This commit was merged in pull request #1.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
variables:
|
||||
- &platforms 'linux/arm/v7,linux/arm64/v8,linux/amd64'
|
||||
- &platforms 'linux/arm64,linux/amd64'
|
||||
- &docker_creds
|
||||
username:
|
||||
from_secret: hub_username_cybercinch
|
||||
@@ -46,7 +46,7 @@ steps:
|
||||
CGO_ENABLED=0
|
||||
go build -o build/go-semantic-release.darwin_x86_64 -ldflags "-w -s -X main.version=`go-semantic-release next`"
|
||||
./cmd/go-semantic-release/
|
||||
- go-semantic-release release # Actually make the release on Gitea. Uploading assets
|
||||
- go-semantic-release --loglevel debug release # Actually make the release on Gitea. Uploading assets
|
||||
environment:
|
||||
GITEA_TOKEN:
|
||||
from_secret: gitea_token
|
||||
@@ -56,33 +56,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
|
||||
update-swarm-service-portainer:
|
||||
image: docker.io/plugins/webhook
|
||||
settings:
|
||||
urls:
|
||||
from_secret: deploy_url
|
||||
method: POST
|
||||
when:
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user