From 2404983627e4f5e94b18b590e0101ea9e3c09608 Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Thu, 9 Apr 2026 11:35:43 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20Attempt=203=20(fixed):=20Use=20-?= =?UTF-8?q?-build-arg=20and=20ARG=20for=20DEPS=5FHASH?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/docker-push.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 - . <