2023-09-22 21:56:08 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2023-11-04 00:01:03 +00:00
|
|
|
- name: build-and-push
|
2023-09-22 21:56:08 +00:00
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
registry: git.clortox.com
|
|
|
|
username:
|
|
|
|
from_secret: gitea_docker_username
|
|
|
|
password:
|
|
|
|
from_secret: gitea_docker_password
|
2023-09-22 22:05:47 +00:00
|
|
|
repo: git.clortox.com/tyler/general-api
|
2023-11-03 23:50:18 +00:00
|
|
|
tags:
|
|
|
|
- latest
|
2023-11-04 00:04:56 +00:00
|
|
|
- "1.0.${DRONE_BUILD_NUMBER}"
|
2023-09-22 21:56:08 +00:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
2023-11-04 00:01:03 +00:00
|
|
|
|
2023-09-22 21:56:08 +00:00
|
|
|
- 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!
|
2023-09-22 22:05:47 +00:00
|
|
|
CLICK: https://drone.clortox.com/tyler/General-API
|
2023-09-22 21:56:08 +00:00
|
|
|
TITLE: General-API
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|