From 8320434cd5c4b4cdffd89d9fed9f0e25664ef4fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Mare=C5=A1?= Date: Wed, 3 Sep 2025 13:53:24 +0200 Subject: [PATCH] ci: add release workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Vojtěch Mareš --- .woodpecker/release.yaml | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .woodpecker/release.yaml diff --git a/.woodpecker/release.yaml b/.woodpecker/release.yaml new file mode 100644 index 0000000..f3b509b --- /dev/null +++ b/.woodpecker/release.yaml @@ -0,0 +1,45 @@ +# depends_on: +# - test + +when: + # - event: [tag] + - event: push + branch: ${CI_DEFAULT_BRANCH} + +variables: + - &buildx-plugin "woodpeckerci/plugin-docker-buildx:6.0.2" + - &repo "registry.mareshq.com/woodpecker-plugins/wrangler-deploy" + - &platforms "linux/arm64/v8,linux/amd64" + +steps: + publish-next: + image: *buildx-plugin + settings: + repo: *repo + platforms: *platforms + tag: next + when: + branch: main + event: push + + # publish-tag: + # image: *buildx-plugin + # settings: + # repo: *repo + # platforms: *platforms + # tag: [latest, "${CI_COMMIT_TAG}"] + # logins: + # # Default DockerHub login + # - registry: https://index.docker.io/v1/ + # username: + # from_secret: docker_username + # password: + # from_secret: docker_password + # # Additional Codeberg login + # - registry: https://codeberg.org + # username: + # from_secret: cb_username + # password: + # from_secret: cb_password + # when: + # event: tag