added dry run

main
Johannes Bülow 2023-08-03 14:09:20 +02:00
parent 473615082c
commit 62bb715962
Signed by untrusted user who does not match committer: jmb
GPG Key ID: B56971CF7B8F83A6
1 changed files with 13 additions and 0 deletions

View File

@ -14,6 +14,17 @@ variables:
- &repo git.jmbit.de/jmbit/docker-hugo - &repo git.jmbit.de/jmbit/docker-hugo
steps: steps:
dryrun:
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: *file
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
dry_run: true
repo: *repo
tags: latest
when:
event: pull_request
path: *file
publish: publish:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
@ -29,4 +40,6 @@ steps:
from_secret: dockerhub_token from_secret: dockerhub_token
when: when:
event: push event: push
path: *file