30 lines
600 B
YAML
30 lines
600 B
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
steps:
|
|
- name: server
|
|
image: plugins/docker
|
|
environment:
|
|
DOCKER_BUILDKIT: 1
|
|
settings:
|
|
username: kasperhermansen
|
|
password:
|
|
from_secret:
|
|
docker_secret
|
|
repo: kasperhermansen/scel
|
|
tags: latest
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
cache_from: kasperhermansen/scel:latest
|
|
|
|
- name: send telegram notification
|
|
image: appleboy/drone-telegram
|
|
settings:
|
|
token:
|
|
from_secret: telegram_token
|
|
to: 2129601481
|
|
format: markdown
|
|
when:
|
|
status: [failure]
|
|
|