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: pipeline:
dryrun:
image: plugins/kaniko
settings:
repo: woodpeckerci/plugin-docker-buildx
tags: latest
dockerfile: Dockerfile
no_push: true
when:
event: pull_request
publish: publish:
image: plugins/kaniko image: plugins/kaniko
settings: settings:
@ -8,4 +18,7 @@ pipeline:
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
from_secret: docker_password from_secret: docker_password
when:
event: [push, tag]
branch: main