zs-starter-template/.drone.yml
2023-03-16 18:53:09 +10:00

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