feat(build): Add Docker build
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
c91e7a1989
commit
cb4958ae3f
4 changed files with 3015 additions and 1 deletions
39
.woodpecker.yml
Normal file
39
.woodpecker.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
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
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue