28 lines
643 B
YAML
28 lines
643 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: gitea_docker_username
|
|
password:
|
|
from_secret: gitea_docker_password
|
|
repo: git.clortox.com/tyler/obsidian-api
|
|
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
|