test-drone/.drone.yml

28 lines
512 B
YAML

kind: pipeline
type: docker
name: hello world
steps:
- name: Hello world!
image: registry.cuzo.dev/library/alpine
commands:
- echo Hello world!
- name: ¡Hola mundo!
image: registry.cuzo.dev/library/alpine
commands:
- 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