31 lines
716 B
YAML
31 lines
716 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
registry: git.clortox.com
|
|
repo: git.clortox.com/infrastructure/memerr
|
|
username:
|
|
from_secret: gitea_docker_username
|
|
password:
|
|
from_secret: gitea_docker_password
|
|
tags:
|
|
- latest
|
|
- "1.0.{DRONE_BUILD_NUMBER}"
|
|
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
|