33 lines
594 B
YAML
33 lines
594 B
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
username: kasperhermansen
|
|
password:
|
|
from_secret: docker_secret
|
|
repo: kasperhermansen/twatch
|
|
tags: latest
|
|
when:
|
|
event:
|
|
include:
|
|
- push
|
|
- tag
|
|
- promote
|
|
|
|
- name: send telegram notification
|
|
image: appleboy/drone-telegram
|
|
settings:
|
|
token:
|
|
from_secret: telegram_token
|
|
to: 2129601481
|
|
format: markdown
|
|
depends_on:
|
|
- "docker"
|
|
when:
|
|
status:
|
|
- "failure"
|