From 6e49c084da27fdb2133b16d085ae4d6ca40eb452 Mon Sep 17 00:00:00 2001 From: vladupshot <154623109+vladupshot@users.noreply.github.com> Date: Wed, 14 Feb 2024 12:46:53 +1300 Subject: [PATCH] remove not neede string --- .github/workflows/build_push_ecr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_push_ecr.yml b/.github/workflows/build_push_ecr.yml index 0a3e8b2..22c9b8c 100644 --- a/.github/workflows/build_push_ecr.yml +++ b/.github/workflows/build_push_ecr.yml @@ -43,7 +43,7 @@ jobs: MAIN_BRANCH: main # Images from this branch will be tagged as "latest" run: | #! Due to we trigger on push.tags GITHUB_REF - is the tag name - GIT_TAG="${GITHUB_REF}" + GIT_TAG="$(echo $GITHUB_REF| sed 's#refs/tags/##')" IMAGE_TAG="${GITHUB_SHA:0:8}" EXTRA_IMAGE_TAGS=$GIT_TAG