From cd378c34b83b71c3e2d6cfd3e2acb836797bd108 Mon Sep 17 00:00:00 2001 From: 6543 <6543@noreply.codeberg.org> Date: Sat, 26 Feb 2022 00:03:49 +0100 Subject: [PATCH] Add dryrun (#3) Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/3 --- .woodpecker/main.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.woodpecker/main.yml b/.woodpecker/main.yml index f076f85..b393142 100644 --- a/.woodpecker/main.yml +++ b/.woodpecker/main.yml @@ -1,4 +1,14 @@ pipeline: + dryrun: + image: plugins/kaniko + settings: + repo: woodpeckerci/plugin-docker-buildx + tags: latest + dockerfile: Dockerfile + no_push: true + when: + event: pull_request + publish: image: plugins/kaniko settings: @@ -8,4 +18,7 @@ pipeline: username: from_secret: docker_username password: - from_secret: docker_password \ No newline at end of file + from_secret: docker_password + when: + event: [push, tag] + branch: main \ No newline at end of file