36 lines
871 B
YAML
36 lines
871 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
name: publish pipeline
|
||
|
steps:
|
||
|
- name: publish astro container
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
username: 3wordchant
|
||
|
password:
|
||
|
from_secret: git_autonomic_zone_token_3wc
|
||
|
repo: git.autonomic.zone/autonomic-cooperative/lumbung-kios-astro
|
||
|
auto_tag: true
|
||
|
registry: git.autonomic.zone
|
||
|
context: astro
|
||
|
dockerfile: astro/Dockerfile
|
||
|
target: prod
|
||
|
- name: publish payload container
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
username: 3wordchant
|
||
|
password:
|
||
|
from_secret: git_autonomic_zone_token_3wc
|
||
|
repo: git.autonomic.zone/autonomic-cooperative/lumbung-kios-payload
|
||
|
auto_tag: true
|
||
|
registry: git.autonomic.zone
|
||
|
context: payload
|
||
|
dockerfile: payload/Dockerfile
|
||
|
target: prod
|
||
|
trigger:
|
||
|
branch:
|
||
|
- main
|
||
|
event:
|
||
|
exclude:
|
||
|
- pull_request
|
||
|
|