Switch to mode=min for GHA cache for docker buildx to prevent ratelimiting in GHA workflow

This commit is contained in:
Dimitri Huisman
2022-08-20 07:49:36 +00:00
parent b962319ba1
commit dd3f1a3376
2 changed files with 1 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ jobs:
push: false
set: |
*.cache-from=type=gha,scope=build-${{ matrix.target }}
*.cache-to=type=gha,scope=build-${{ matrix.target }},mode=max
*.cache-to=type=gha,scope=build-${{ matrix.target }},mode=min
*.platform=${{ inputs.architecture }}
# This job runs all the tests.