2024-08-23 01:02:33 +02:00
|
|
|
---
|
|
|
|
when:
|
|
|
|
branch: main
|
|
|
|
|
|
|
|
variables:
|
2024-10-10 02:04:01 +02:00
|
|
|
- &buildx woodpeckerci/plugin-docker-buildx:5.0.0
|
2024-08-23 01:02:33 +02:00
|
|
|
- &buildx_settings
|
|
|
|
platforms: linux/amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
dryrun:
|
|
|
|
image: *buildx
|
|
|
|
settings:
|
|
|
|
<<: *buildx_settings
|
|
|
|
dry_run: true
|
|
|
|
when:
|
2024-09-21 01:53:18 +02:00
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
2024-08-24 03:25:43 +02:00
|
|
|
|
|
|
|
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
|