2025-10-31 20:24:27 +01:00
|
|
|
when:
|
2025-10-31 20:34:02 +01:00
|
|
|
branch: codeberg
|
2025-10-31 20:24:27 +01:00
|
|
|
event: [push]
|
|
|
|
|
|
|
|
|
|
variables:
|
2025-10-31 20:27:49 +01:00
|
|
|
- &file Dockerfile
|
|
|
|
|
- &repo codeberg.org/${CI_REPO_OWNER}/io-exporter
|
2025-10-31 20:24:27 +01:00
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
dryrun:
|
|
|
|
|
image: docker.io/woodpeckerci/plugin-docker-buildx:latest
|
|
|
|
|
settings:
|
|
|
|
|
dockerfile: *file
|
|
|
|
|
platforms: linux/amd64
|
|
|
|
|
dry_run: true
|
|
|
|
|
repo: *repo
|
|
|
|
|
tags: latest
|
|
|
|
|
when:
|
2025-10-31 20:34:02 +01:00
|
|
|
event: push
|
2025-10-31 20:24:27 +01:00
|
|
|
path: *file
|
|
|
|
|
|
|
|
|
|
publish:
|
|
|
|
|
image: docker.io/woodpeckerci/plugin-docker-buildx:latest
|
|
|
|
|
settings:
|
|
|
|
|
dockerfile: *file
|
|
|
|
|
platforms: linux/amd64
|
|
|
|
|
repo: *repo
|
|
|
|
|
registry: codeberg.org
|
|
|
|
|
tags: latest,1-${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG}
|
|
|
|
|
username: ${CI_REPO_OWNER}
|
|
|
|
|
password:
|
|
|
|
|
from_secret: deploy_token
|
|
|
|
|
when:
|
|
|
|
|
event: push
|
|
|
|
|
path: *file
|