feat: update CI config

This commit is contained in:
Yarmo Mackenbach 2024-06-16 15:56:17 +02:00
parent e4a45aa042
commit 40ded08e7f
No known key found for this signature in database
GPG key ID: C248C28D432560ED
3 changed files with 4 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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