From 0178264430f3dd8742fe8ad43fec2d786a6f2834 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"