ci(docker-build): all in one with matrix
ci/woodpecker/push/build unknown status
Details
ci/woodpecker/push/lint unknown status
Details
ci/woodpecker/push/docker-build-cyan Pipeline was successful
Details
ci/woodpecker/push/docker-build-luacheck_just Pipeline was successful
Details
ci/woodpecker/push/docker-build Pipeline was successful
Details
ci/woodpecker/push/docker-build_stylua_just Pipeline was successful
Details
ci/woodpecker/pr/docker-build-cyan Pipeline was successful
Details
ci/woodpecker/pr/docker-build-luacheck_just Pipeline was successful
Details
ci/woodpecker/pr/docker-build Pipeline was successful
Details
ci/woodpecker/pr/docker-build_stylua_just Pipeline was successful
Details
ci/woodpecker/pr/lint Pipeline was successful
Details
ci/woodpecker/pr/build Pipeline was successful
Details
ci/woodpecker/push/build unknown status
Details
ci/woodpecker/push/lint unknown status
Details
ci/woodpecker/push/docker-build-cyan Pipeline was successful
Details
ci/woodpecker/push/docker-build-luacheck_just Pipeline was successful
Details
ci/woodpecker/push/docker-build Pipeline was successful
Details
ci/woodpecker/push/docker-build_stylua_just Pipeline was successful
Details
ci/woodpecker/pr/docker-build-cyan Pipeline was successful
Details
ci/woodpecker/pr/docker-build-luacheck_just Pipeline was successful
Details
ci/woodpecker/pr/docker-build Pipeline was successful
Details
ci/woodpecker/pr/docker-build_stylua_just Pipeline was successful
Details
ci/woodpecker/pr/lint Pipeline was successful
Details
ci/woodpecker/pr/build Pipeline was successful
Details
This commit is contained in:
parent
8463cbe423
commit
1577c9db94
|
@ -0,0 +1,40 @@
|
||||||
|
variables:
|
||||||
|
- &buildx woodpeckerci/plugin-docker-buildx:2.0.0
|
||||||
|
- &repo gitea.aireone.xyz/${CI_REPO,,}
|
||||||
|
- &platforms linux/amd64
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
DOCKERFILE:
|
||||||
|
- Dockerfile.cyan
|
||||||
|
- Dockerfile.luacheck_just
|
||||||
|
- Dockerfile.stylua_just
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
dryrun:
|
||||||
|
image: *buildx
|
||||||
|
settings:
|
||||||
|
dockerfile: ${DOCKERFILE}
|
||||||
|
platforms: *platforms
|
||||||
|
dry_run: true
|
||||||
|
repo: *repo
|
||||||
|
when:
|
||||||
|
branch: master
|
||||||
|
event: pull_request
|
||||||
|
path: ${DOCKERFILE}
|
||||||
|
|
||||||
|
publish:
|
||||||
|
image: *buildx
|
||||||
|
settings:
|
||||||
|
dockerfile: ${DOCKERFILE}
|
||||||
|
platforms: *platforms
|
||||||
|
registry: gitea.aireone.xyz
|
||||||
|
repo: *repo
|
||||||
|
auto_tag: true
|
||||||
|
username:
|
||||||
|
from_secret: publish_username
|
||||||
|
password:
|
||||||
|
from_secret: publish_token
|
||||||
|
when:
|
||||||
|
branch: master
|
||||||
|
event: push
|
||||||
|
path: ${DOCKERFILE}
|
Loading…
Reference in New Issue