2020-02-13 09:31:49 +00:00
|
|
|
kind: pipeline
|
2020-02-13 17:22:43 +00:00
|
|
|
name: exec
|
2020-02-13 17:07:19 +00:00
|
|
|
|
2020-02-13 09:31:49 +00:00
|
|
|
steps:
|
|
|
|
- name: build
|
2020-02-13 17:22:43 +00:00
|
|
|
image: docker
|
|
|
|
commands:
|
|
|
|
- docker build --rm -t dagobert:latest .
|
2020-02-13 17:23:53 +00:00
|
|
|
volumes: [ /var/run/docker.sock:/var/run/docker.sock ]
|
2020-02-13 09:31:49 +00:00
|
|
|
- name: notify
|
|
|
|
image: drillster/drone-email
|
2020-02-13 09:35:25 +00:00
|
|
|
settings:
|
2020-02-13 10:01:45 +00:00
|
|
|
host: smtp
|
|
|
|
port: 25
|
|
|
|
skip_verify: true
|
2020-02-13 09:58:50 +00:00
|
|
|
from: drone@chrz.de
|
2020-02-13 09:31:49 +00:00
|
|
|
when:
|
|
|
|
status: [ success, failure ]
|