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:
|
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:
|
||||||
@ -9,3 +19,6 @@ pipeline:
|
|||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
|
when:
|
||||||
|
event: [push, tag]
|
||||||
|
branch: main
|
Loading…
Reference in New Issue
Block a user