ci(docker-build): fix `when`
This commit is contained in:
parent
6ed6ae8acd
commit
5d8c75ad45
|
@ -1,7 +1,6 @@
|
||||||
variables:
|
variables:
|
||||||
- &buildx woodpeckerci/plugin-docker-buildx:2.0.0
|
- &buildx woodpeckerci/plugin-docker-buildx:2.0.0
|
||||||
- &platforms linux/amd64
|
- &platforms linux/amd64
|
||||||
- &when_path ".woodpecker/docker-build.yml"
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
DOCKERFILE:
|
DOCKERFILE:
|
||||||
|
@ -19,7 +18,7 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
path:
|
path:
|
||||||
- *when_path
|
- .woodpecker/docker-build.yml
|
||||||
- .woodpecker/docker/${DOCKERFILE}
|
- .woodpecker/docker/${DOCKERFILE}
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
@ -37,7 +36,7 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
path:
|
path:
|
||||||
- *when_path
|
- .woodpecker/docker-build.yml
|
||||||
- .woodpecker/docker/${DOCKERFILE}
|
- .woodpecker/docker/${DOCKERFILE}
|
||||||
|
|
||||||
branches: master
|
branches: master
|
||||||
|
|
Loading…
Reference in New Issue