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 21s

This commit is contained in:
Alex Shevchuk
2025-09-17 15:41:18 +03:00
parent cb4dd943bc
commit cf4a0ac7b7

View File

@@ -91,8 +91,12 @@ jobs:
env: env:
REPO: ${{ github.repository }} REPO: ${{ github.repository }}
run: | run: |
git fetch --tags --force
GIT_SHA=$(git rev-parse --short HEAD) GIT_SHA=$(git rev-parse --short HEAD)
GIT_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "none") GIT_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "none")
echo "GIT_TAG = ${GIT_TAG}"
TARGET_ENV=${{ github.ref == 'refs/heads/release' && 'staging' || 'production' }} TARGET_ENV=${{ github.ref == 'refs/heads/release' && 'staging' || 'production' }}
echo "GIT_SHA=${GIT_SHA}" >> $GITHUB_OUTPUT echo "GIT_SHA=${GIT_SHA}" >> $GITHUB_OUTPUT