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:
parent
edad444a83
commit
cd378c34b8
@ -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
|
Loading…
Reference in New Issue
Block a user