From 8ce8d8c863af5a77431388c8931b313b751fcf39 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Wed, 1 Oct 2025 18:34:45 +0200 Subject: [PATCH] fix: Use github.workspace to target directory --- .github/workflows/docker-image.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yaml b/.github/workflows/docker-image.yaml index 55219da..2a010fb 100644 --- a/.github/workflows/docker-image.yaml +++ b/.github/workflows/docker-image.yaml @@ -47,8 +47,8 @@ jobs: - name: Extract Jib digest id: digest run: | - DIGEST=$(cat ./build/jib-image.digest) - echo "digest=$DIGEST" >> $GITHUB_OUTPUT + DIGEST_FILE=${{ github.workspace }}/build/jib-image.digest + echo "digest=$(cat $DIGEST_FILE)" >> $GITHUB_OUTPUT - name: Perform docker login uses: docker/login-action@v3 with: