From 96743b6c335d36ae26d6c9c0635ef73f28b9bef1 Mon Sep 17 00:00:00 2001 From: bo0tzz Date: Thu, 8 May 2025 22:24:29 +0200 Subject: [PATCH] fix: properly set cache key suffix in image build (#18169) --- .github/actions/image-build/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/image-build/action.yml b/.github/actions/image-build/action.yml index 276bbd22cf..ee23bd8ba8 100644 --- a/.github/actions/image-build/action.yml +++ b/.github/actions/image-build/action.yml @@ -92,7 +92,7 @@ runs: labels: ${{ steps.meta.outputs.labels }} cache-to: ${{ steps.cache-target.outputs.cache-to }} cache-from: | - type=registry,ref=${{ inputs.image }}-build-cache:${{ steps.cache-target.outputs.cache-key-base }}-${{ env.CACHE_KEY_SUFFIX }} + type=registry,ref=${{ inputs.image }}-build-cache:${{ steps.cache-target.outputs.cache-key-base }}-${{ steps.cache-key-suffix.outputs.suffix }} type=registry,ref=${{ inputs.image }}-build-cache:${{ steps.cache-target.outputs.cache-key-base }}-main outputs: type=image,"name=${{ inputs.image }}",push-by-digest=true,name-canonical=true,push=${{ !github.event.pull_request.head.repo.fork }} build-args: |