Filebrowser/.drone.yml

41 lines
774 B
YAML
Raw Normal View History

2023-12-18 22:36:51 +00:00
kind: pipeline
type: docker
2023-12-18 23:23:30 +00:00
name: build-container
2023-12-18 22:36:51 +00:00
steps:
2023-12-18 23:23:30 +00:00
- name: build-and-push
image: plugins/docker
settings:
2023-12-18 23:29:51 +00:00
repo: git.clortox.com/infrastructure/filebrowser
2023-12-18 23:23:30 +00:00
registry: git.clortox.com
username:
2023-12-18 23:27:50 +00:00
from_secret: gitea_docker_username
2023-12-18 23:23:30 +00:00
password:
2023-12-18 23:27:50 +00:00
from_secret: gitea_docker_password
2023-12-18 23:23:30 +00:00
tags:
- latest
- ${DRONE_TAG}
when:
event:
- tag
2023-12-18 23:29:51 +00:00
2023-12-18 23:27:50 +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: Filebrowser ${DRONE_TAG} has compiled!
CLICK: https://drone.clortox.com/Infrastructure/filebrowser
TITLE: Filebrowser
when:
2023-12-18 23:29:51 +00:00
event:
2023-12-18 23:27:50 +00:00
- tag
2023-12-18 23:23:30 +00:00
trigger:
event:
- tag