Files
io-exporter/.woodpecker/image.yaml

29 lines
657 B
YAML

variables:
- &repo codeberg.org/${CI_REPO_OWNER}/io-exporter
steps:
dryrun:
image: docker.io/woodpeckerci/plugin-docker-buildx:latest
settings:
dockerfile: *file
platforms: linux/amd64
dry_run: true
repo: *repo
tags: latest
when:
event: [push]
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]