From ec98f8bc4f05c9a5243957f6db3bec7de7e6049b Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Thu, 5 Oct 2023 17:43:55 +0200 Subject: [PATCH] Update docker/get-docker-tags.sh Co-authored-by: Marcin Rataj --- docker/get-docker-tags.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/get-docker-tags.sh b/docker/get-docker-tags.sh index 9d2e178..2ca09b3 100644 --- a/docker/get-docker-tags.sh +++ b/docker/get-docker-tags.sh @@ -45,10 +45,10 @@ elif [[ $GIT_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then echoImageName "$GIT_TAG" echoImageName "latest" -#elif [ "$GIT_BRANCH" = "main" ]; then -# echoImageName "main-${BUILD_NUM}-${GIT_SHA1_SHORT}" -# echoImageName "main-latest" -# +elif [ "$GIT_BRANCH" = "main" ]; then + echoImageName "main-${BUILD_NUM}-${GIT_SHA1_SHORT}" + echoImageName "main-latest" + #elif [ "$GIT_BRANCH" = "staging" ]; then # echoImageName "staging-${BUILD_NUM}-${GIT_SHA1_SHORT}" # echoImageName "staging-latest"