From 9ba428b6ad213112d2389323ae652bb3839e4c2e Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 21 Aug 2022 00:20:11 +0200 Subject: [PATCH] with base-tag --- scripts/push_release.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/push_release.sh b/scripts/push_release.sh index e9c455a..f8f4b4c 100755 --- a/scripts/push_release.sh +++ b/scripts/push_release.sh @@ -2,8 +2,9 @@ set -e -tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}" -latest_tag="$REGISTRY/$SERVICE:latest" +base_tag="$REGISTRY/$SERVICE" +tag="$base_tag:${COMMIT_SHA:0:10}" +latest_tag="$base_tag:latest" if [[ -n $DEBUG ]] then