2025-10-31 21:53:15 +01:00
|
|
|
# https://woodpecker-ci.org/plugins/docker-buildx
|
|
|
|
|
|
2025-10-31 20:24:27 +01:00
|
|
|
variables:
|
2025-10-31 20:27:49 +01:00
|
|
|
- &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:
|
2025-10-31 20:52:25 +01:00
|
|
|
dockerfile: Dockerfile
|
2025-10-31 20:24:27 +01:00
|
|
|
platforms: linux/amd64
|
|
|
|
|
dry_run: true
|
|
|
|
|
repo: *repo
|
|
|
|
|
tags: latest
|
2025-10-31 20:51:19 +01:00
|
|
|
when:
|
2025-10-31 21:00:43 +01:00
|
|
|
event: [pull_request]
|
2025-10-31 20:24:27 +01:00
|
|
|
|
|
|
|
|
publish:
|
|
|
|
|
image: docker.io/woodpeckerci/plugin-docker-buildx:latest
|
|
|
|
|
settings:
|
2025-10-31 20:52:25 +01:00
|
|
|
dockerfile: Dockerfile
|
2025-10-31 20:24:27 +01:00
|
|
|
platforms: linux/amd64
|
|
|
|
|
repo: *repo
|
|
|
|
|
registry: codeberg.org
|
|
|
|
|
tags: latest,1-${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG}
|
2025-10-31 21:53:15 +01:00
|
|
|
#username: ${CI_REPO_OWNER}
|
2025-10-31 20:24:27 +01:00
|
|
|
password:
|
2025-10-31 21:00:43 +01:00
|
|
|
from_secret: DEPLOY_TOKEN
|
2025-10-31 20:24:27 +01:00
|
|
|
when:
|
2025-10-31 21:02:08 +01:00
|
|
|
event: [push]
|