onion2s-build/.woodpecker.yml
Andreas Mieke 56c1c804e6
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
revert: Base image doesn't do ARM :(
2024-11-20 23:47:21 -05:00

39 lines
1,022 B
YAML

steps:
build:
image: woodpeckerci/plugin-docker-buildx
settings:
dry-run: true
repo: git.merp.digital/${CI_REPO_OWNER}/${CI_REPO_NAME}
platforms: linux/amd64
registry: git.merp.digital
when:
- event: [push, manual]
branch:
exclude: [develop, master]
publish-nightly:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.merp.digital/${CI_REPO_OWNER}/${CI_REPO_NAME}
platforms: linux/amd64
registry: git.merp.digital
tags: develop
username: ${CI_REPO_OWNER}
password:
from_secret: cb_token
when:
- event: push
branch: develop
publish-release:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.merp.digital/${CI_REPO_OWNER}/${CI_REPO_NAME}
platforms: linux/amd64
registry: git.merp.digital
tags: ["latest", "${CI_COMMIT_TAG}"]
username: ${CI_REPO_OWNER}
password:
from_secret: cb_token
when:
- event: tag