2024-04-05 14:34:54 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2024-04-05 14:53:26 +00:00
|
|
|
name: build-container
|
2024-04-05 14:34:54 +00:00
|
|
|
|
|
|
|
steps:
|
2024-04-05 14:53:26 +00:00
|
|
|
- name: build-and-push
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: git.clortox.com/tyler/pytorch-interactive
|
|
|
|
registry: git.clortox.com
|
|
|
|
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: Pytorch-interactive ${DRONE_TAG} has compiled!
|
|
|
|
CLICK: https://drone.clortox.com/Infrastructure/filebrowser
|
|
|
|
TITLE: Pytorch-interactive
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|