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: pipeline:
build-latest-container: build-latest-container:
when:
branch: main
event: tag
image: plugins/docker image: plugins/docker
settings: settings:
registry: https://codeberg.org registry: https://codeberg.org/v2
username: username:
from_secret: codeberg_username from_secret: codeberg_username
password: password:
from_secret: codeberg_password from_secret: codeberg_password
repo: keyoxide/keyoxide-web repo: codeberg.org/keyoxide/keyoxide-web
tags: latest tags: latest
when:
branch: main
event: tag
build-tag-container: 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: when:
branch: main branch: main
event: tag event: tag
build-dev-container:
image: plugins/docker image: plugins/docker
settings: settings:
registry: https://codeberg.org registry: https://codeberg.org/v2
username: username:
from_secret: codeberg_username from_secret: codeberg_username
password: password:
from_secret: codeberg_password from_secret: codeberg_password
repo: keyoxide/keyoxide-web repo: codeberg.org/keyoxide/keyoxide-web
tags: dev auto_tag: true
build-dev-container:
when: when:
branch: dev 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