labtime/.woodpecker/build.yaml

35 lines
627 B
YAML
Raw Normal View History

---
when:
branch: main
path:
- Dockerfile
- .woodpecker/build.yaml
variables:
- &buildx woodpeckerci/plugin-docker-buildx:4.2.0
- &buildx_settings
platforms: linux/amd64
steps:
dryrun:
image: *buildx
settings:
<<: *buildx_settings
dry_run: true
when:
2024-08-24 03:25:43 +02:00
event: pull_request
publish:
image: *buildx
settings:
<<: *buildx_settings
registry: gitea.aireone.xyz
repo: gitea.aireone.xyz/${CI_REPO,,}
auto_tag: true
username:
from_secret: publish_username
password:
from_secret: publish_token
when:
event: tag