Add drone file
continuous-integration/drone Build is failing Details

This commit is contained in:
Tyler Perkins 2023-07-25 23:17:40 -04:00
parent 471dbb421b
commit 043bd08f1d
1 changed files with 29 additions and 0 deletions

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