-
Notifications
You must be signed in to change notification settings - Fork 3
/
.drone.yml
45 lines (44 loc) · 882 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
kind: pipeline
name: default
steps:
- name: push_image
image: plugins/docker
settings:
registry: registry.home-stack.in
repo: registry.home-stack.in/rest-backend
tags:
- ${DRONE_TAG}
- latest
insecure: true
when:
event:
- tag
- deployment
- name: deploy
image: quay.io/honestbee/drone-kubernetes
settings:
namespace: demo
deployment: rest-backend
repo: registry.home-stack.in/rest-backend
container: rest-backend
tag: ${DRONE_TAG=latest}
kubernetes_server:
from_secret: kubernetes_server
kubernetes_token:
from_secret: kubernetes_token
when:
event:
- tag
- deployment
- name: notify
image: wuyue/drone-dingding
environment:
DING_DING_WEBHOOK_URL:
from_secret: DING_DING_WEBHOOK_URL
when:
event:
- tag
- deployment
status:
- success
- failure