Add drone file
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Tyler Perkins 2023-07-25 23:17:40 -04:00
parent 471dbb421b
commit 043bd08f1d

29
.drone.yml Normal file
View File

@ -0,0 +1,29 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
repo:
from_secret: dockerhub_repo
registry: git.clortox.com
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: Obsidian-API build finished
CLICK: https://drone.clortox.com/tyler/Obsidian-API
TITLE: Obsidian-API