From 55677eb33a7389561280ff1f691116bdce0fb972 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Thu, 6 Mar 2025 16:00:00 +0100 Subject: [PATCH] refactor(ci): simplify image tag format The image tag generation in the release deployment workflow was simplified by removing the redundant IMAGE_TAG variable prepending. Now the tag is directly composed of the branch name and short SHA, resulting in cleaner and more readable image tags. Signed-off-by: rjshrjndrn --- .github/workflows/release-deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-deployment.yaml b/.github/workflows/release-deployment.yaml index 32abc73d6..cec38fa50 100644 --- a/.github/workflows/release-deployment.yaml +++ b/.github/workflows/release-deployment.yaml @@ -31,8 +31,8 @@ jobs: - name: Set image tag with branch info run: | SHORT_SHA=$(git rev-parse --short HEAD) - echo "IMAGE_TAG=${IMAGE_TAG}-${{ github.event.inputs.branch }}-${SHORT_SHA}" >> $GITHUB_ENV - echo "Using image tag: ${IMAGE_TAG}-${{ github.event.inputs.branch }}-${SHORT_SHA}" + echo "IMAGE_TAG=${{ github.event.inputs.branch }}-${SHORT_SHA}" >> $GITHUB_ENV + echo "Using image tag: $IMAGE_TAG" - uses: depot/setup-action@v1