Merge pull request 'Fix: Create and host docker images for the CI (#34)' (#41) from fix/ci-docker-build into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details

Reviewed-on: #41
This commit is contained in:
Aire-One 2022-12-09 18:43:29 +01:00
commit 6d2d2efaa0
1 changed files with 8 additions and 2 deletions

View File

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