Added Telegram notification step and images from private repo
This commit is contained in:
parent
125baaad62
commit
f3813bcbc0
1 changed files with 15 additions and 2 deletions
17
.drone.yml
17
.drone.yml
|
|
@ -4,11 +4,24 @@ name: hello world
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Hello world!
|
- name: Hello world!
|
||||||
image: alpine
|
image: registry.cuzo.dev/library/alpine
|
||||||
commands:
|
commands:
|
||||||
- echo Hello world!
|
- echo Hello world!
|
||||||
|
|
||||||
- name: ¡Hola mundo!
|
- name: ¡Hola mundo!
|
||||||
image: alpine
|
image: registry.cuzo.dev/library/alpine
|
||||||
commands:
|
commands:
|
||||||
- echo ¡Hola mundo!
|
- echo ¡Hola mundo!
|
||||||
|
|
||||||
|
- name: send telegram notification
|
||||||
|
image: registry.cuzo.dev/appleboy/drone-telegram
|
||||||
|
when:
|
||||||
|
status: [success, failure]
|
||||||
|
settings:
|
||||||
|
to:
|
||||||
|
from_secret: TG_USER
|
||||||
|
token:
|
||||||
|
from_secret: TG_TOKEN
|
||||||
|
|
||||||
|
image_pull_secrets:
|
||||||
|
- PRIVATE_DOCKER_REGISTRY
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue