name: build and publish image
kind: pipeline
type: docker
steps:
- name: build and publish
image: plugins/docker
settings:
repo: nickslowinski/robotter112.de-php-docker
tags:
- '7.4'
- '7'
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
when:
branch:
- release/v7.4
- name: send telegram notification
image: appleboy/drone-telegram
token:
from_secret: tg-drone-bot-token
to:
from_secret: tg-robotter112.de-chat-id
message_file: telegram-notification.tpl
depends_on:
- build and publish
status:
- failure
- success