74
All checks were successful
Go Linter / Run golangci-lint (api_gateway) (push) Has been skipped
Deploy Production / Deploy to Staging (push) Has been skipped
Go Linter / Build golang services (api_gateway) (push) Has been skipped
Go Linter / Tag Commit (push) Has been skipped
Go Linter / Push Docker Images (api_gateway) (push) Successful in 29s

This commit is contained in:
Alex Shevchuk
2025-09-17 15:39:48 +03:00
parent 9d4b138190
commit cb4dd943bc

View File

@@ -116,7 +116,11 @@ jobs:
GIT_TAG: ${{ steps.git-metadata.outputs.GIT_TAG }}
GIT_SHA: ${{ steps.git-metadata.outputs.GIT_SHA }}
run: |
IMAGE_TAG=$TARGET_ENV-$($GIT_TAG != "none" && echo $GIT_TAG || echo $GIT_SHA)
if [ "$GIT_TAG" != "none" ]; then
IMAGE_TAG="${TARGET_ENV}-${GIT_TAG}"
else
IMAGE_TAG="${TARGET_ENV}-${GIT_SHA}"
fi
echo "IMAGE_NAME=molvaapp/${{ steps.git-metadata.outputs.REPO_NAME }}" >> $GITHUB_OUTPUT
echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_OUTPUT