Merge pull request 'Fix: Create and host docker images for the CI (#34)' (#42) from fix/ci-docker-build into master
Reviewed-on: #42
This commit is contained in:
commit
dc7d3102ca
|
@ -1,8 +1,7 @@
|
||||||
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
|
- &when_path .woodpecker/docker-build.yml
|
||||||
- ".woodpecker/docker-build.yml"
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
DOCKERFILE:
|
DOCKERFILE:
|
||||||
|
@ -20,7 +19,7 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
path:
|
path:
|
||||||
<< *when_path
|
- *when_path
|
||||||
- ${DOCKERFILE}
|
- ${DOCKERFILE}
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
@ -38,7 +37,7 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
path:
|
path:
|
||||||
<< *when_path
|
- *when_path
|
||||||
- ${DOCKERFILE}
|
- ${DOCKERFILE}
|
||||||
|
|
||||||
branches: master
|
branches: master
|
||||||
|
|
Loading…
Reference in New Issue