onion2s-build/.woodpecker.yml

39 lines
1,022 B
YAML
Raw Permalink Normal View History

2024-07-26 09:49:36 +00:00
steps:
build:
image: woodpeckerci/plugin-docker-buildx
settings:
dry-run: true
repo: git.merp.digital/${CI_REPO_OWNER}/${CI_REPO_NAME}
2024-11-21 04:47:21 +00:00
platforms: linux/amd64
2024-07-26 09:49:36 +00:00
registry: git.merp.digital
when:
2024-11-21 04:42:04 +00:00
- event: [push, manual]
2024-07-26 09:49:36 +00:00
branch:
exclude: [develop, master]
publish-nightly:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.merp.digital/${CI_REPO_OWNER}/${CI_REPO_NAME}
2024-11-21 04:47:21 +00:00
platforms: linux/amd64
2024-07-26 09:49:36 +00:00
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}
2024-11-21 04:47:21 +00:00
platforms: linux/amd64
2024-07-26 09:49:36 +00:00
registry: git.merp.digital
tags: ["latest", "${CI_COMMIT_TAG}"]
username: ${CI_REPO_OWNER}
password:
from_secret: cb_token
when:
- event: tag