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:
|
variables:
|
||||||
- &platforms 'linux/arm/v7,linux/arm64/v8,linux/amd64'
|
- &platforms 'linux/arm64,linux/amd64'
|
||||||
- &docker_creds
|
- &docker_creds
|
||||||
username:
|
username:
|
||||||
from_secret: hub_username_cybercinch
|
from_secret: hub_username_cybercinch
|
||||||
@@ -46,7 +46,7 @@ steps:
|
|||||||
CGO_ENABLED=0
|
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_x86_64 -ldflags "-w -s -X main.version=`go-semantic-release next`"
|
||||||
./cmd/go-semantic-release/
|
./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:
|
environment:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
@@ -56,33 +56,25 @@ steps:
|
|||||||
- push
|
- push
|
||||||
- manual
|
- manual
|
||||||
|
|
||||||
publish-docker-tagged:
|
# publish-docker-tagged:
|
||||||
image: docker.io/cybercinch/woodpecker-plugin-depot
|
# image: docker.io/cybercinch/woodpecker-plugin-depot
|
||||||
pull: true
|
# pull: true
|
||||||
settings:
|
# settings:
|
||||||
<<: *docker_creds
|
# <<: *docker_creds
|
||||||
token:
|
# token:
|
||||||
from_secret: depot_token
|
# from_secret: depot_token
|
||||||
repohost: hub.cybercinch.nz
|
# repohost: hub.cybercinch.nz
|
||||||
repo: cybercinch/${CI_REPO_NAME}
|
# repo: cybercinch/${CI_REPO_NAME}
|
||||||
project:
|
# project:
|
||||||
from_secret: depot_project
|
# from_secret: depot_project
|
||||||
dockerfile: Dockerfile
|
# dockerfile: Dockerfile
|
||||||
push: true
|
# push: true
|
||||||
platforms: *platforms
|
# platforms: *platforms
|
||||||
tags: ["latest", "$CI_COMMIT_TAG"]
|
# tags: ["latest", "$CI_COMMIT_TAG"]
|
||||||
when:
|
# when:
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
# branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
event:
|
# event:
|
||||||
- tag
|
# - 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-develop:
|
publish-docker-develop:
|
||||||
image: docker.io/cybercinch/woodpecker-plugin-depot
|
image: docker.io/cybercinch/woodpecker-plugin-depot
|
||||||
|
|||||||
Reference in New Issue
Block a user