twatch/.drone.yml

33 lines
594 B
YAML
Raw Normal View History

2022-04-04 22:27:06 +02:00
kind: pipeline
name: default
2022-04-04 22:34:00 +02:00
type: docker
2022-04-04 22:27:06 +02:00
steps:
- name: docker
image: plugins/docker
settings:
username: kasperhermansen
password:
2022-10-28 23:16:51 +02:00
from_secret: docker_secret
2022-04-04 22:27:06 +02:00
repo: kasperhermansen/twatch
2022-04-04 22:35:54 +02:00
tags: latest
2022-10-28 23:20:35 +02:00
when:
event:
include:
- push
- tag
- promote
2022-04-04 22:35:54 +02:00
- name: send telegram notification
image: appleboy/drone-telegram
settings:
token:
from_secret: telegram_token
to: 2129601481
2022-10-28 23:16:51 +02:00
format: markdown
depends_on:
- "docker"
when:
status:
- "failure"