drone-ntfy/.drone.yml
Tyler Perkins 28b4caa7aa
Some checks failed
continuous-integration/drone/push Build is failing
Add ntfy to drone (#4)
* Add Dockerfile and main.sh

* Add base settings for now

* Add drone

* Fix typo in alpine name

* Add ntfy service to drone
2022-12-16 19:51:31 -05:00

29 lines
644 B
YAML

kind: pipeline
name: default
steps:
- name: Build
image: plugins/docker
settings:
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
repo:
from_secret: dockerhub_repo
tags: latest
when:
branch:
- main
- name: notify
image: clortox/drone-ntfy
settings:
URL: https://ntfy.clortox.com
USERNAME: drone
PASSWORD:
from_secret: ntfy_password
TOPIC: drone-builds
MESSAGE: Drone-ntfy has finished building!
CLICK: https://drone.clortox.com/tyler/drone-ntfy
TITLE: Drone (drone-ntfy)