From 7499423e303507d3cc87237232422c016e2dd655 Mon Sep 17 00:00:00 2001 From: pat-s Date: Fri, 26 Jan 2024 03:19:46 +0000 Subject: [PATCH] Don't run dryrun when building pr images (#131) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### 📖 Summary Both essentially do the same until the very end - only one of each is needed respectively. ### 📑 Build PR Images? PR images are not needed ### 💬 Details _No response_ Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/131 Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: pat-s Co-committed-by: pat-s --- .woodpecker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 1425c3a..072887d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -58,6 +58,7 @@ steps: repo: test dry-run: true when: + evaluate: 'not (CI_COMMIT_PULL_REQUEST_LABELS contains "build_pr_images")' event: pull_request branch: - ${CI_REPO_DEFAULT_BRANCH}