From 70b6cbe8df8db18fbcf51366d5be30f6bf9ce54e Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Tue, 2 Apr 2024 14:40:42 +1300 Subject: [PATCH] fix(ci): Update woodpecker config. Try gitea release :wrench: --- .woodpecker.yml | 50 +++++++++++++++++++++---------------------------- 1 file changed, 21 insertions(+), 29 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 23cde9e..f1606d2 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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