From 6a4c9220bd32eb7a11e8917c0cf08d5a1ef2d468 Mon Sep 17 00:00:00 2001 From: bkellam Date: Fri, 3 Oct 2025 21:24:14 -0700 Subject: [PATCH] chore: try including platform pair in cache key --- .github/workflows/ghcr-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ghcr-publish.yml b/.github/workflows/ghcr-publish.yml index c0ed30a6..6e443966 100644 --- a/.github/workflows/ghcr-publish.yml +++ b/.github/workflows/ghcr-publish.yml @@ -73,8 +73,8 @@ jobs: with: context: . labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=gha,scope=${{ env.PLATFORM_PAIR }} + cache-to: type=gha,mode=max,scope=${{ env.PLATFORM_PAIR }} platforms: ${{ matrix.platform }} outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true,annotation.org.opencontainers.image.description=Blazingly fast code search build-args: |