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