mirror of
https://git.mills.io/prologic/zs-starter-template.git
synced 2024-11-16 09:26:00 -05:00
43 lines
633 B
YAML
43 lines
633 B
YAML
---
|
|
kind: pipeline
|
|
name: 🐳 Docker
|
|
|
|
environment:
|
|
GOPROXY: https://goproxy.mills.io/
|
|
|
|
steps:
|
|
- name: 📦 Image
|
|
image: plugins/kaniko
|
|
settings:
|
|
repo: r.mills.io/prologic/zs
|
|
tags: latest
|
|
username:
|
|
from_secret: registry_username
|
|
password:
|
|
from_secret: registry_password
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
|
|
---
|
|
kind: pipeline
|
|
name: 🥳 Done
|
|
|
|
steps:
|
|
- name: 🔔 Notify
|
|
image: plugins/webhook
|
|
settings:
|
|
urls:
|
|
- https://msgbus.mills.io/ci.mills.io
|
|
|
|
depends_on:
|
|
- 🐳 Docker
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|