diff --git a/.gitea/workflows/deploy_staging.yaml b/.gitea/workflows/deploy_staging.yaml index d289909..00292b8 100644 --- a/.gitea/workflows/deploy_staging.yaml +++ b/.gitea/workflows/deploy_staging.yaml @@ -64,11 +64,9 @@ jobs: run: | echo "$(git rev-parse --short HEAD)" echo "$(git describe --tags --abbrev=0 2>/dev/null || echo "none")" - echo "${GITHUB_REF##*/}" 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 - echo "REF_NAME=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT - name: Login to Docker Registry run: | @@ -76,18 +74,17 @@ jobs: - name: Build and Push Docker Image id: build-push - if: ${{ inputs.version == 'latest' }} + # if: ${{ inputs.version == 'latest' }} env: IMAGE_NAME: molvaapp/test_deploy IMAGE_TAG: ${{ steps.git-metadata.outputs.GIT_SHA }} CONFIG_FILE: ./build/config/staging.yaml run: | # export IMAGE_TAG=${{ steps.git-metadata.outputs.GIT_TAG != "none" && steps.git-metadata.outputs.GIT_TAG || steps.git-metadata.outputs.GIT_SHA }} - echo "=== STARTING DOCKER BUILD ===" echo "Building $IMAGE_NAME:$IMAGE_TAG" echo "Using config: $CONFIG_FILE" - + # Explicit Docker setup echo "Docker info:" docker info