awesomewm.d.tl/.woodpecker/docker-build-luacheck_just.yml

36 lines
727 B
YAML

variables:
- &buildx woodpeckerci/plugin-docker-buildx:2.0.0
- &file Dockerfile.luacheck_just
- &repo gitea.aireone.xyz/${CI_REPO,,}
- &platforms linux/amd64
pipeline:
dryrun:
image: *buildx
settings:
dockerfile: *file
platforms: *platforms
dry_run: true
repo: *repo
when:
branch: master
event: pull_request
path: *file
publish:
image: *buildx
settings:
dockerfile: *file
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: *file