Add notification to pipeline
continuous-integration/drone/tag Build is failing Details

This commit is contained in:
Tyler Perkins 2023-12-18 18:27:50 -05:00
parent 23503d40fe
commit afd7ed55d8
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8
1 changed files with 17 additions and 2 deletions

View File

@ -9,15 +9,30 @@ steps:
repo: git.clortox.com/Infrastructure/filebrowser repo: git.clortox.com/Infrastructure/filebrowser
registry: git.clortox.com registry: git.clortox.com
username: username:
from_secret: docker_username from_secret: gitea_docker_username
password: password:
from_secret: docker_password from_secret: gitea_docker_password
tags: tags:
- latest - latest
- ${DRONE_TAG} - ${DRONE_TAG}
when: when:
event: event:
- tag - tag
- name: notify
image: clortox/drone-ntfy
settings:
URL: https://ntfy.clortox.com
USERNAME: drone
PASSWORD:
from_secret: ntfy_password
TOPIC: drone-builds
MESSAGE: Filebrowser ${DRONE_TAG} has compiled!
CLICK: https://drone.clortox.com/Infrastructure/filebrowser
TITLE: Filebrowser
when:
branch:
- tag
trigger: trigger:
event: event: