zs-starter-template/.drone.yml

43 lines
633 B
YAML
Raw Normal View History

---
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