Andreas Mieke
ecdecec5c6
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Since build is inlcuded in publish jobs.
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
steps:
|
|
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
|
|
when:
|
|
- event: push
|
|
branch:
|
|
exclude: [develop, master]
|
|
|
|
publish-nightly:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
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
|
|
tags: ${CI_COMMIT_BRANCH}
|
|
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}/woodpecker-scp
|
|
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
|
|
registry: git.merp.digital
|
|
tags:
|
|
- latest
|
|
- ${CI_COMMIT_TAG}
|
|
username: ${CI_REPO_OWNER}
|
|
password:
|
|
from_secret: cb_token
|
|
when:
|
|
- event: tag |