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

View file

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

View file

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