Skip to content

Commit 3528f56

Browse files
committed
fix: update cache scope in build workflow to include version for improved caching
1 parent 1d856bc commit 3528f56

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs: {
3636
"file": "./${{ matrix.version }}/${{ matrix.architecture }}/Dockerfile",
3737
"tags": "release-${{ github.ref_name }}:${{ matrix.version }}-${{ matrix.architecture }}",
3838
"load": true,
39-
"cache-from": "type=gha,scope=deplibs-${{ matrix.architecture }}",
40-
"cache-to": "type=gha,mode=max,scope=deplibs-${{ matrix.architecture }}",
39+
"cache-from": "type=gha,scope=deplibs-${{ matrix.architecture }}-${{ matrix.version }}",
40+
"cache-to": "type=gha,mode=max,scope=deplibs-${{ matrix.architecture }}-${{ matrix.version }}",
4141
},
4242
},
4343
{

0 commit comments

Comments
 (0)