2023-12-29 10:39:15 +00:00
|
|
|
steps:
|
2023-12-29 11:36:30 +00:00
|
|
|
build:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
dry-run: true
|
|
|
|
repo: git.merp.digital/${CI_REPO_OWNER}/woodpecker-scp
|
|
|
|
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
|
|
|
|
registry: git.merp.digital
|
2023-12-29 12:02:20 +00:00
|
|
|
when:
|
2023-12-29 14:01:22 +00:00
|
|
|
- event: push
|
|
|
|
branch:
|
|
|
|
exclude: [develop, master]
|
2023-12-29 11:36:30 +00:00
|
|
|
|
|
|
|
publish-nightly:
|
2023-12-29 10:33:01 +00:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
repo: git.merp.digital/${CI_REPO_OWNER}/woodpecker-scp
|
2023-12-29 11:01:16 +00:00
|
|
|
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
|
2023-12-29 10:33:01 +00:00
|
|
|
registry: git.merp.digital
|
2023-12-29 14:01:22 +00:00
|
|
|
tags: develop-${CI_COMMIT_SHA}
|
2023-12-29 10:33:01 +00:00
|
|
|
username: ${CI_REPO_OWNER}
|
|
|
|
password:
|
2023-12-29 10:50:38 +00:00
|
|
|
from_secret: cb_token
|
2023-12-29 11:37:05 +00:00
|
|
|
when:
|
2023-12-29 11:53:01 +00:00
|
|
|
- event: push
|
2023-12-29 11:54:38 +00:00
|
|
|
branch: develop
|
2023-12-29 10:50:38 +00:00
|
|
|
|
2023-12-29 10:52:19 +00:00
|
|
|
publish-release:
|
2023-12-29 10:50:38 +00:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
repo: git.merp.digital/${CI_REPO_OWNER}/woodpecker-scp
|
2023-12-29 11:01:16 +00:00
|
|
|
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
|
2023-12-29 10:50:38 +00:00
|
|
|
registry: git.merp.digital
|
2023-12-29 14:01:22 +00:00
|
|
|
tags: ${CI_COMMIT_TAG}
|
2023-12-29 10:50:38 +00:00
|
|
|
username: ${CI_REPO_OWNER}
|
|
|
|
password:
|
|
|
|
from_secret: cb_token
|
2023-12-29 10:56:12 +00:00
|
|
|
when:
|
|
|
|
- event: tag
|