diff --git a/.gitea/workflows/docker-push.yaml b/.gitea/workflows/docker-push.yaml index b12e020..7b0c56c 100644 --- a/.gitea/workflows/docker-push.yaml +++ b/.gitea/workflows/docker-push.yaml @@ -54,21 +54,22 @@ jobs: source VERSION IMAGE_VERSION="$MAJOR.$MINOR.$PATCH${PRERELEASE:+-$PRERELEASE}" - # Use the calculated dependency hash and export it + # Use the calculated dependency hash and set it as environment variable DEPS_HASH="${{ steps.calc_hash.outputs.deps_hash }}" echo "Using dependency hash: $DEPS_HASH" - export DEPS_HASH + echo "DEPS_HASH=$DEPS_HASH" >> $GITHUB_ENV TAGS="$IMAGE_VERSION latest ${{ github.sha }}" echo "Building Docker image with tags: $TAGS" # Build the production image using inline version with prebuilt cache image - # Fixed: Proper working directory and source code copying - docker build -t dance-lessons-coach -f - . <