mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 23:09:29 -07:00
48 lines
No EOL
1 KiB
YAML
48 lines
No EOL
1 KiB
YAML
steps:
|
|
test:
|
|
image: node
|
|
commands:
|
|
- yarn --pure-lockfile
|
|
- yarn run test
|
|
|
|
build-latest-container:
|
|
when:
|
|
branch: main
|
|
event: tag
|
|
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: latest
|
|
|
|
build-tag-container:
|
|
when:
|
|
branch: main
|
|
event: tag
|
|
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
|
|
auto_tag: true
|
|
|
|
build-dev-container:
|
|
when:
|
|
branch: dev
|
|
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 |