ci(docker-build): fix `when`
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details

This commit is contained in:
Aire-One 2022-12-09 21:12:24 +01:00
parent 6ed6ae8acd
commit 5d8c75ad45
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
variables:
- &buildx woodpeckerci/plugin-docker-buildx:2.0.0
- &platforms linux/amd64
- &when_path ".woodpecker/docker-build.yml"
matrix:
DOCKERFILE:
@ -19,7 +18,7 @@ pipeline:
when:
event: pull_request
path:
- *when_path
- .woodpecker/docker-build.yml
- .woodpecker/docker/${DOCKERFILE}
publish:
@ -37,7 +36,7 @@ pipeline:
when:
event: push
path:
- *when_path
- .woodpecker/docker-build.yml
- .woodpecker/docker/${DOCKERFILE}
branches: master