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: 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