Skip to content

Commit d470852

Browse files
committed
Fix GHA cache scope containing slash
1 parent d148371 commit d470852

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ jobs:
8585
with:
8686
platforms: ${{ matrix.platform }}
8787
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' }}
88-
cache-from: type=gha,scope=${{ matrix.platform }}
89-
cache-to: type=gha,scope=${{ matrix.platform }},mode=max
88+
cache-from: type=gha,scope=${{ matrix.runner }}
89+
cache-to: type=gha,scope=${{ matrix.runner }},mode=max
9090

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

0 commit comments

Comments
 (0)