Merge pull request 'Fix: Create and host docker images for the CI (#34)' (#41) from fix/ci-docker-build into master
Reviewed-on: #41
This commit is contained in:
commit
6d2d2efaa0
|
@ -1,6 +1,8 @@
|
|||
variables:
|
||||
- &buildx woodpeckerci/plugin-docker-buildx:2.0.0
|
||||
- &platforms linux/amd64
|
||||
- &when_path
|
||||
- ".woodpecker/docker-build.yml"
|
||||
|
||||
matrix:
|
||||
DOCKERFILE:
|
||||
|
@ -17,7 +19,9 @@ pipeline:
|
|||
dry_run: true
|
||||
when:
|
||||
event: pull_request
|
||||
path: ${DOCKERFILE}
|
||||
path:
|
||||
<< *when_path
|
||||
- ${DOCKERFILE}
|
||||
|
||||
publish:
|
||||
image: *buildx
|
||||
|
@ -33,6 +37,8 @@ pipeline:
|
|||
from_secret: publish_token
|
||||
when:
|
||||
event: push
|
||||
path: ${DOCKERFILE}
|
||||
path:
|
||||
<< *when_path
|
||||
- ${DOCKERFILE}
|
||||
|
||||
branches: master
|
||||
|
|
Loading…
Reference in New Issue