From 09d71776b43e6a1c3e6d8a9768ce8fcf5d7702b2 Mon Sep 17 00:00:00 2001 From: shahanneda Date: Wed, 8 Jun 2022 20:39:15 -0700 Subject: [PATCH] Changed ref --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index eb86da0..83eb7e1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -40,7 +40,7 @@ steps: password: from_secret: harbour_password tags: - - ${DRONE_COMMIT_SHA} + - ${DRONE_BRANCH//\//-} - latest registry: registry.cloud.csclub.uwaterloo.ca repo: registry.cloud.csclub.uwaterloo.ca/snedadah/csc-class-profile-staging @@ -50,7 +50,8 @@ steps: depends_on: - publish commands: - - 'curl https://csclub.uwaterloo.ca/~snedadah/webhooks/cscclassprofilestaging?ref=${DRONE_COMMIT_SHA}' + - echo "The docker build tag is ${DRONE_BRANCH//\//-}" + - 'curl https://csclub.uwaterloo.ca/~snedadah/webhooks/cscclassprofilestaging?ref=${DRONE_BRANCH//\//-}'