twatch/.drone.yml
kjuulh d515ad9545
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
restrict
2022-10-28 23:20:35 +02:00

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"