From be48bcb7a65e2155d6a08ecff2058f2238e624f4 Mon Sep 17 00:00:00 2001 From: Alex Shevchuk Date: Tue, 19 Aug 2025 02:46:17 +0300 Subject: [PATCH] 34 --- .gitea/workflows/deploy_staging.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy_staging.yaml b/.gitea/workflows/deploy_staging.yaml index 856f620..e3e7b2a 100644 --- a/.gitea/workflows/deploy_staging.yaml +++ b/.gitea/workflows/deploy_staging.yaml @@ -62,9 +62,6 @@ jobs: - name: Extract Git metadata id: git-metadata run: | - echo "$(git rev-parse --short HEAD)" - echo "$(git describe --tags --abbrev=0 2>/dev/null || echo "none")" - echo "GIT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT echo "GIT_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "none")" >> $GITHUB_OUTPUT @@ -73,7 +70,6 @@ jobs: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin - name: Build and Push Docker Image - id: build-push env: IMAGE_NAME: molvaapp/test_deploy CONFIG_FILE: .build/config/staging.yaml @@ -81,7 +77,7 @@ jobs: echo "Building image for ${{ inputs.environment }} environment" echo "Git tag : ${{ steps.git-metadata.outputs.GIT_TAG }}" echo "Git sha : ${{ steps.git-metadata.outputs.GIT_SHA }}" - echo "Image tag : '${{ steps.git-metadata.outputs.GIT_TAG != "none" && steps.git-metadata.outputs.GIT_TAG || steps.git-metadata.outputs.GIT_SHA }}'" + echo "Image tag : '${{ steps.git-metadata.outputs.GIT_TAG != "none" && steps.git-metadata.outputs.GIT_TAG }}'" - name: Install dependencies