mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59: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
|
branch: dev
|
||||||
event: push
|
event: push
|
||||||
steps:
|
steps:
|
||||||
build-dev-container:
|
publish-dev-container:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
registry: https://codeberg.org/v2
|
registry: https://codeberg.org/v2
|
||||||
|
|
|
@ -2,11 +2,9 @@ when:
|
||||||
event: tag
|
event: tag
|
||||||
evaluate: 'CI_COMMIT_TAG contains "-rc."'
|
evaluate: 'CI_COMMIT_TAG contains "-rc."'
|
||||||
steps:
|
steps:
|
||||||
build-prerelease-container:
|
publish-prerelease-container:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
dry-run: true
|
|
||||||
debug: true
|
|
||||||
registry: https://codeberg.org/v2
|
registry: https://codeberg.org/v2
|
||||||
username:
|
username:
|
||||||
from_secret: codeberg_username
|
from_secret: codeberg_username
|
||||||
|
@ -15,6 +13,7 @@ steps:
|
||||||
repo: codeberg.org/keyoxide/keyoxide-web
|
repo: codeberg.org/keyoxide/keyoxide-web
|
||||||
default_tag: next
|
default_tag: next
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
|
auto_tag_suffix: -rc
|
||||||
build_args_from_env:
|
build_args_from_env:
|
||||||
- CI_COMMIT_SHA
|
- CI_COMMIT_SHA
|
||||||
- CI_COMMIT_BRANCH
|
- CI_COMMIT_BRANCH
|
||||||
|
|
|
@ -2,10 +2,9 @@ when:
|
||||||
event: tag
|
event: tag
|
||||||
evaluate: 'not (CI_COMMIT_TAG contains "-rc.")'
|
evaluate: 'not (CI_COMMIT_TAG contains "-rc.")'
|
||||||
steps:
|
steps:
|
||||||
build-latest-container:
|
publish-latest-container:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
dry-run: true
|
|
||||||
registry: https://codeberg.org/v2
|
registry: https://codeberg.org/v2
|
||||||
username:
|
username:
|
||||||
from_secret: codeberg_username
|
from_secret: codeberg_username
|
||||||
|
|
Loading…
Reference in a new issue