forked from nginx-le/nginx-le
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.drone.yml
45 lines (42 loc) · 936 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
type: docker
steps:
- name: docker master
image: plugins/docker
settings:
repo: umputun/nginx-le
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- ${DRONE_COMMIT_BRANCH/\//-}
when:
branch: [master]
event: push
- name: docker tag
image: plugins/docker
settings:
repo: umputun/remark42
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- ${DRONE_TAG}
- latest
when:
event: tag
- name: notify
image: drillster/drone-email
settings:
host: smtp.mailgun.org
username:
from_secret: email_username
password:
from_secret: email_password
from: [email protected]
recipients: [[email protected]]
when:
status: [changed, failure]