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: - '8.0-dev' - '8-dev' username: from_secret: ns_docker_username password: from_secret: ns_docker_password when: branch: - dev/v8.0 - name: build and publish image: plugins/docker settings: repo: nickslowinski/robotter112.de-php-docker tags: - '8.0' - '8' username: from_secret: ns_docker_username password: from_secret: ns_docker_password when: branch: - release/v8.0 - 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/v8.0 status: - failure - success