name: build and publish image kind: pipeline type: docker steps: - name: build for testing image: plugins/docker settings: dry_run: true repo: nickslowinski/robotter112.de-php-docker tags: - 'dev/v7.4' username: from_secret: ns_docker_username password: from_secret: ns_docker_password when: branch: - dev/v7.4 - 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 settings: token: from_secret: tg-drone-bot-token to: from_secret: tg-robotter112.de-chat-id message_file: telegram-notification.tpl format: markdown depends_on: - build and publish when: branch: - release/v7.4 status: - failure - success