Add dryrun (#3)

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/3
This commit is contained in:
6543 2022-02-26 00:03:49 +01:00
parent edad444a83
commit cd378c34b8

View File

@ -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:
@ -9,3 +19,6 @@ pipeline:
from_secret: docker_username
password:
from_secret: docker_password
when:
event: [push, tag]
branch: main