From 043bd08f1d6474c0a1a0214b226cf7fa56531d7d Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Tue, 25 Jul 2023 23:17:40 -0400 Subject: [PATCH] Add drone file --- .drone.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..6fa09fa --- /dev/null +++ b/.drone.yml @@ -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