General-API/.drone.yml

33 lines
713 B
YAML

kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
registry: git.clortox.com
username:
from_secret: gitea_docker_username
password:
from_secret: gitea_docker_password
repo: git.clortox.com/tyler/general-api
tags: latest
when:
branch:
- master
- name: notify
image: clortox/drone-ntfy
settings:
URL: https://ntfy.clortox.com
USERNAME: drone
PASSWORD:
from_secret: ntfy_password
TOPIC: drone-builds
MESSAGE: General-API has compiled!
CLICK: https://drone.clortox.com/tyler/General-API
TITLE: General-API
when:
branch:
- master