Files
io-exporter/.woodpecker/image.yaml

33 lines
824 B
YAML
Raw Permalink Normal View History

2025-10-31 21:53:15 +01:00
# https://woodpecker-ci.org/plugins/docker-buildx
2025-10-31 22:27:07 +01:00
# enable Package unit and go to /scip/-/packages after building to link to proj
2025-10-31 21:53:15 +01:00
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
2025-10-31 22:27:07 +01:00
tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG}
2025-10-31 21:59:50 +01:00
username: ${CI_REPO_OWNER}
2025-10-31 20:24:27 +01:00
password:
2025-10-31 21:58:01 +01:00
from_secret: REGISTRY_TOKEN
2025-10-31 20:24:27 +01:00
when:
2025-10-31 22:27:07 +01:00
event: [tag]
branch: main