From c8220df09219b01e2c1379a0e24ad47832998dd0 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Fri, 5 Apr 2024 10:53:26 -0400 Subject: [PATCH] Update drone.yml --- .drone.yml | 46 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 53da16b..e645ad9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,13 +1,41 @@ kind: pipeline type: docker -name: build-and-release +name: build-container steps: - - name: build - image: alpine - commands: - - echo "Build your code!" - - name: release - image: alpine - commands: - - echo "Release your code!" +- 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 +