29 lines
629 B
YAML
29 lines
629 B
YAML
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
|
|
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: Discord Bot build finished!
|
|
CLICK: https://drone.clortox.com/tyler/Memerr
|
|
TITLE: Memerr build
|