2022-04-24 23:25:12 +02:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
type: docker
|
|
|
|
steps:
|
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username: kasperhermansen
|
|
|
|
password:
|
2022-10-28 22:33:09 +02:00
|
|
|
from_secret: docker_secret
|
2022-04-24 23:25:12 +02:00
|
|
|
repo: kasperhermansen/wishlist
|
|
|
|
tags: latest
|
2022-10-28 22:33:09 +02:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
include:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
- promote
|
|
|
|
|
2022-04-24 23:25:12 +02:00
|
|
|
- name: send telegram notification
|
|
|
|
image: appleboy/drone-telegram
|
|
|
|
settings:
|
|
|
|
token:
|
|
|
|
from_secret: telegram_token
|
|
|
|
to: 2129601481
|
2022-04-25 23:01:55 +02:00
|
|
|
format: markdown
|
2022-10-28 22:34:44 +02:00
|
|
|
depends_on:
|
|
|
|
- 'docker'
|
2022-10-28 22:35:38 +02:00
|
|
|
when:
|
|
|
|
status: [failure]
|