Skip to content

Commit ea5e97e

Browse files
committed
Use per-version GHA cache scope to prevent blob eviction in matrix builds
1 parent 7bd1dc4 commit ea5e97e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docker.build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ jobs:
8383
PHP_VERSION=${{ matrix.php }}
8484
tags: ${{ steps.meta.outputs.tags }}
8585
labels: ${{ steps.meta.outputs.labels }}
86-
cache-from: type=gha
87-
cache-to: type=gha,mode=max
86+
cache-from: type=gha,scope=php-${{ matrix.php }}
87+
cache-to: type=gha,mode=max,scope=php-${{ matrix.php }}
8888

8989
announce:
9090
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)