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
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user