2023-03-16 06:42:47 -06:00
|
|
|
pipeline:
|
|
|
|
build-latest-container:
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2023-03-16 06:50:13 -06:00
|
|
|
registry: https://codeberg.org
|
2023-03-16 06:42:47 -06:00
|
|
|
username:
|
|
|
|
from_secret: codeberg_username
|
|
|
|
password:
|
|
|
|
from_secret: codeberg_password
|
|
|
|
repo: keyoxide/keyoxide-web
|
|
|
|
tags: latest
|
|
|
|
when:
|
|
|
|
branch: main
|
|
|
|
event: tag
|
|
|
|
|
|
|
|
build-tag-container:
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2023-03-16 06:50:13 -06:00
|
|
|
registry: https://codeberg.org
|
2023-03-16 06:42:47 -06:00
|
|
|
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:
|
2023-03-16 06:50:13 -06:00
|
|
|
registry: https://codeberg.org
|
2023-03-16 06:42:47 -06:00
|
|
|
username:
|
|
|
|
from_secret: codeberg_username
|
|
|
|
password:
|
|
|
|
from_secret: codeberg_password
|
|
|
|
repo: keyoxide/keyoxide-web
|
|
|
|
tags: dev
|
|
|
|
when:
|
|
|
|
branch: dev
|
|
|
|
event: push
|