mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
52 lines
1,014 B
YAML
52 lines
1,014 B
YAML
---
|
|
|
|
type: docker
|
|
kind: pipeline
|
|
name: build-latest-container
|
|
|
|
steps:
|
|
- name: build latest container
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
repo: keyoxide/keyoxide
|
|
tags: latest
|
|
- name: build tag container
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
repo: keyoxide/keyoxide
|
|
auto_tag: true
|
|
|
|
trigger:
|
|
event:
|
|
- tag
|
|
|
|
---
|
|
|
|
type: docker
|
|
kind: pipeline
|
|
name: build-dev-container
|
|
|
|
steps:
|
|
- name: build dev container
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
repo: keyoxide/keyoxide
|
|
tags: dev
|
|
|
|
trigger:
|
|
branch:
|
|
- dev
|
|
event:
|
|
- push
|