This commit is contained in:
parent
df881c07e1
commit
a53173766c
29
.drone.yml
Normal file
29
.drone.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
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/cuddle
|
||||||
|
tags: latest
|
||||||
|
context: .
|
||||||
|
dockerfile: templates/build_cuddle_image.Dockerfile
|
||||||
|
cache_from: kasperhermansen/cuddle:latest
|
||||||
|
|
||||||
|
- name: send telegram notification
|
||||||
|
image: appleboy/drone-telegram
|
||||||
|
settings:
|
||||||
|
token:
|
||||||
|
from_secret: telegram_token
|
||||||
|
to: 2129601481
|
||||||
|
format: markdown
|
||||||
|
when:
|
||||||
|
status: [failure]
|
@ -1 +1,2 @@
|
|||||||
.cuddle/
|
.cuddle/
|
||||||
|
.git/
|
||||||
|
Loading…
Reference in New Issue
Block a user