ci(docker-build): fix Dockerfile path
This commit is contained in:
parent
66736218dc
commit
a4e36cda9e
|
@ -1,7 +1,6 @@
|
|||
variables:
|
||||
- &buildx woodpeckerci/plugin-docker-buildx:2.0.0
|
||||
- &platforms linux/amd64
|
||||
- &dockerfile_path .woodpecker/docker/
|
||||
- &when_path .woodpecker/docker-build.yml
|
||||
|
||||
matrix:
|
||||
|
@ -14,20 +13,19 @@ pipeline:
|
|||
dryrun:
|
||||
image: *buildx
|
||||
settings:
|
||||
dockerfile: ${dockerfile_path}${DOCKERFILE}
|
||||
dockerfile: .woodpecker/docker/${DOCKERFILE}
|
||||
platforms: *platforms
|
||||
repo: gitea.aireone.xyz/${CI_REPO,,}/${DOCKERFILE/Dockerfile./}
|
||||
dry_run: true
|
||||
when:
|
||||
event: pull_request
|
||||
path:
|
||||
- *when_path
|
||||
- ${dockerfile_path}${DOCKERFILE}
|
||||
- .woodpecker/docker/${DOCKERFILE}
|
||||
|
||||
publish:
|
||||
image: *buildx
|
||||
settings:
|
||||
dockerfile: ${dockerfile_path}${DOCKERFILE}
|
||||
dockerfile: .woodpecker/docker/${DOCKERFILE}
|
||||
platforms: *platforms
|
||||
registry: gitea.aireone.xyz
|
||||
repo: gitea.aireone.xyz/${CI_REPO,,}/${DOCKERFILE/Dockerfile./}
|
||||
|
@ -40,6 +38,6 @@ pipeline:
|
|||
event: push
|
||||
path:
|
||||
- *when_path
|
||||
- ${dockerfile_path}${DOCKERFILE}
|
||||
- .woodpecker/docker/${DOCKERFILE}
|
||||
|
||||
branches: master
|
||||
|
|
Loading…
Reference in New Issue