fix: Fix CI

This commit is contained in:
Yarmo Mackenbach 2023-03-16 14:05:58 +01:00
parent 91bb426ae9
commit fc99bd36c7
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -1,42 +1,42 @@
pipeline:
build-latest-container:
when:
branch: main
event: tag
image: plugins/docker
settings:
registry: https://codeberg.org
registry: https://codeberg.org/v2
username:
from_secret: codeberg_username
password:
from_secret: codeberg_password
repo: keyoxide/keyoxide-web
repo: codeberg.org/keyoxide/keyoxide-web
tags: latest
when:
branch: main
event: tag
build-tag-container:
image: plugins/docker
settings:
registry: https://codeberg.org
username:
from_secret: codeberg_username
password:
from_secret: codeberg_password
repo: keyoxide/keyoxide-web
auto_tag: true
when:
branch: main
event: tag
build-dev-container:
image: plugins/docker
settings:
registry: https://codeberg.org
registry: https://codeberg.org/v2
username:
from_secret: codeberg_username
password:
from_secret: codeberg_password
repo: keyoxide/keyoxide-web
tags: dev
repo: codeberg.org/keyoxide/keyoxide-web
auto_tag: true
build-dev-container:
when:
branch: dev
event: push
event: push
image: plugins/docker
settings:
registry: https://codeberg.org/v2
username:
from_secret: codeberg_username
password:
from_secret: codeberg_password
repo: codeberg.org/keyoxide/keyoxide-web
tags: dev