From c22fdbf88ef00fddad71d904ee2d372576ade683 Mon Sep 17 00:00:00 2001 From: Thomas Montague Date: Thu, 12 Feb 2026 17:01:54 -0500 Subject: [PATCH] Adjust image building to set scope of gha cache to include image repository. --- .github/workflows/publish-container-image-ecr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-container-image-ecr.yml b/.github/workflows/publish-container-image-ecr.yml index 30ed941..f0fe164 100644 --- a/.github/workflows/publish-container-image-ecr.yml +++ b/.github/workflows/publish-container-image-ecr.yml @@ -83,8 +83,8 @@ jobs: push: true tags: ${{ steps.metadata.outputs.tags }} labels: ${{ steps.metadata.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=gha,scope=buildkit-${{ inputs.repository }} + cache-to: type=gha,ignore-error=true,mode=max,scope=buildkit-${{ inputs.repository }} # Sign the resulting container image digest except on PRs. # This will only write to the public Rekor transparency log when the Docker