Gluttony-Cluster-Postgresql/.drone.yml

41 lines
804 B
YAML
Raw Permalink Normal View History

2024-04-07 18:11:13 +00:00
kind: pipeline
type: docker
2024-04-07 18:30:39 +00:00
name: build-container
2024-04-07 18:11:13 +00:00
steps:
2024-04-07 18:30:39 +00:00
- name: build-and-push
image: plugins/docker
settings:
repo: git.clortox.com/infrastructure/gluttony-cluster-postgresql
2024-04-07 18:39:05 +00:00
registry: git.clortox.com
2024-04-07 18:30:39 +00:00
username:
from_secret: gitea_docker_username
password:
from_secret: gitea_docker_password
tags:
- latest
- ${DRONE_TAG}
when:
event:
- tag
- name: notify
image: clortox/drone-ntfy
settings:
URL: https://ntfy.clortox.com
USERNAME: drone
PASSWORD:
from_secret: ntfy_password
TOPIC: drone-builds
MESSAGE: Postgresql ${DRONE_TAG} has compiled!
CLICK: https://drone.clortox.com/Infrastructure/Gluttony-Cluster-Postgresql
TITLE: Postgresql
when:
event:
- tag
trigger:
event:
- tag