forked from deweysasser/docker-xymon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
37 lines (35 loc) · 873 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
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: dockerhub_login
password:
from_secret: dockerhub_password
repo: zethis/docker-xymon
tags: latest
when:
event:
- cron
- tag
- name: gotify
image: fredix/drone-gotify:latest
settings:
gotifytoken:
from_secret: gotifytoken
gotifyendpoint:
from_secret: gotifyendpoint
gotifytitle:
from_secret: gotifytitle
gotifypriority:
from_secret: gotifypriority
message: >
{{#success build.status}}
build {{build.number}} succeeded on {{repo.name}}. Good job {{build.author}} {{build.link}}
{{else}}
build {{build.number}} failed on {{repo.name}}. Fix me please {{build.author}} {{build.link}}
{{/success}}
when:
status: [ success, failure ]