Skip to content

Commit ecb01a7

Browse files
committed
Fix GHA cache scope containing slash
1 parent 8626768 commit ecb01a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ jobs:
7474
with:
7575
platforms: ${{ matrix.platform }}
7676
outputs: type=image,name=gcr.io/${{ env.PROJECT_ID }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=${{ github.event_name != 'pull_request' }}
77-
cache-from: type=gha,scope=${{ matrix.platform }}
78-
cache-to: type=gha,scope=${{ matrix.platform }},mode=max
77+
cache-from: type=gha,scope=${{ matrix.runner }}
78+
cache-to: type=gha,scope=${{ matrix.runner }},mode=max
7979

8080
- name: Export digest
8181
if: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)