ci(docker-build): fix `when_path`
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 18:49:16 +01:00
parent 6d2d2efaa0
commit 908faed2b5
1 changed files with 3 additions and 4 deletions

View File

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