mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 06:49:29 -07:00
feat: update CI config
This commit is contained in:
parent
e4a45aa042
commit
40ded08e7f
3 changed files with 4 additions and 6 deletions
|
@ -2,7 +2,7 @@ when:
|
|||
branch: dev
|
||||
event: push
|
||||
steps:
|
||||
build-dev-container:
|
||||
publish-dev-container:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: https://codeberg.org/v2
|
||||
|
|
|
@ -2,11 +2,9 @@ when:
|
|||
event: tag
|
||||
evaluate: 'CI_COMMIT_TAG contains "-rc."'
|
||||
steps:
|
||||
build-prerelease-container:
|
||||
publish-prerelease-container:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
dry-run: true
|
||||
debug: true
|
||||
registry: https://codeberg.org/v2
|
||||
username:
|
||||
from_secret: codeberg_username
|
||||
|
@ -15,6 +13,7 @@ steps:
|
|||
repo: codeberg.org/keyoxide/keyoxide-web
|
||||
default_tag: next
|
||||
auto_tag: true
|
||||
auto_tag_suffix: -rc
|
||||
build_args_from_env:
|
||||
- CI_COMMIT_SHA
|
||||
- CI_COMMIT_BRANCH
|
||||
|
|
|
@ -2,10 +2,9 @@ when:
|
|||
event: tag
|
||||
evaluate: 'not (CI_COMMIT_TAG contains "-rc.")'
|
||||
steps:
|
||||
build-latest-container:
|
||||
publish-latest-container:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
dry-run: true
|
||||
registry: https://codeberg.org/v2
|
||||
username:
|
||||
from_secret: codeberg_username
|
||||
|
|
Loading…
Reference in a new issue