From 8152b883db2aa422b8ba23ad2a24f5272e1a9c14 Mon Sep 17 00:00:00 2001 From: Andreas Mieke Date: Fri, 29 Dec 2023 12:36:30 +0100 Subject: [PATCH] ci: Only publish on develop and for tags --- .woodpecker.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 83a12aa..d7f8e71 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,5 +1,13 @@ steps: - publish: + build: + image: woodpeckerci/plugin-docker-buildx + settings: + dry-run: true + repo: git.merp.digital/${CI_REPO_OWNER}/woodpecker-scp + platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x + registry: git.merp.digital + + publish-nightly: image: woodpeckerci/plugin-docker-buildx settings: repo: git.merp.digital/${CI_REPO_OWNER}/woodpecker-scp @@ -9,6 +17,8 @@ steps: username: ${CI_REPO_OWNER} password: from_secret: cb_token + when: + - branch: develop publish-release: image: woodpeckerci/plugin-docker-buildx