2024-01-13 02:14:36 +00:00
|
|
|
steps:
|
|
|
|
build:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
dry-run: true
|
|
|
|
repo: git.merp.digital/${CI_REPO_OWNER}/borgserver
|
2024-01-13 02:17:42 +00:00
|
|
|
platforms: linux/386,linux/amd64,linux/arm/v7,linux/arm64/v8
|
2024-01-13 02:14:36 +00:00
|
|
|
registry: git.merp.digital
|
|
|
|
when:
|
|
|
|
- event: push
|
|
|
|
branch:
|
|
|
|
exclude: [develop, master]
|
2022-11-22 21:15:49 +00:00
|
|
|
|
2024-01-13 02:14:36 +00:00
|
|
|
publish-nightly:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
repo: git.merp.digital/${CI_REPO_OWNER}/borgserver
|
2024-01-13 02:17:42 +00:00
|
|
|
platforms: linux/386,linux/amd64,linux/arm/v7,linux/arm64/v8
|
2024-01-13 02:14:36 +00:00
|
|
|
registry: git.merp.digital
|
|
|
|
tags: develop-${CI_COMMIT_SHA}
|
|
|
|
username: ${CI_REPO_OWNER}
|
|
|
|
password:
|
|
|
|
from_secret: cb_token
|
|
|
|
when:
|
|
|
|
- event: push
|
|
|
|
branch: develop
|
2022-11-22 21:15:49 +00:00
|
|
|
|
2024-01-13 02:14:36 +00:00
|
|
|
publish-release:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
2022-11-22 21:15:49 +00:00
|
|
|
settings:
|
2024-01-13 02:14:36 +00:00
|
|
|
repo: git.merp.digital/${CI_REPO_OWNER}/borgserver
|
2024-01-13 02:17:42 +00:00
|
|
|
platforms: linux/386,linux/amd64,linux/arm/v7,linux/arm64/v8
|
2024-01-13 02:14:36 +00:00
|
|
|
registry: git.merp.digital
|
|
|
|
tags: ${CI_COMMIT_TAG}
|
|
|
|
username: ${CI_REPO_OWNER}
|
2022-11-22 21:15:49 +00:00
|
|
|
password:
|
2024-01-13 02:14:36 +00:00
|
|
|
from_secret: cb_token
|
2022-11-22 21:15:49 +00:00
|
|
|
when:
|
2024-01-13 02:14:36 +00:00
|
|
|
- event: tag
|