Skip to content

Commit d2b91b5

Browse files
committed
chore(ci): simplify cache scope by using repository name
1 parent 0886e3a commit d2b91b5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,8 @@ jobs:
5454
tags: ${{ steps.meta.outputs.tags }}
5555
labels: ${{ steps.meta.outputs.labels }}
5656
cache-from: |
57-
type=gha,scope=downloader-${{ github.ref }}
58-
type=gha,scope=compiler-${{ github.ref }}
57+
type=gha,scope=${{ github.repository }}
5958
cache-to: |
60-
type=gha,mode=max,scope=downloader-${{ github.ref }}
61-
type=gha,mode=max,scope=compiler-${{ github.ref }}
59+
type=gha,mode=max,scope=${{ github.repository }}
6260
build-args: |
6361
BUILDKIT_INLINE_CACHE=1

0 commit comments

Comments
 (0)