Skip to content

Commit c644ce8

Browse files
committed
ci: use runner.arch in cache path
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent f4eab7f commit c644ce8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
- uses: actions/cache@v3
3737
with:
3838
path: /tmp/.buildx-cache
39-
key: ${{ runner.os }}-buildx-${{ github.sha }}
39+
key: ${{ runner.os }}-${{ runner.arch }}-buildx-${{ github.sha }}
4040
restore-keys: |
41-
${{ runner.os }}-buildx-
41+
${{ runner.os }}-${{ runner.arch }}-buildx-
4242
- id: meta
4343
uses: docker/metadata-action@v3
4444
with:
@@ -94,9 +94,9 @@ jobs:
9494
- uses: actions/cache@v3
9595
with:
9696
path: /tmp/.buildx-cache
97-
key: ${{ runner.os }}-buildx-${{ github.sha }}
97+
key: ${{ runner.os }}-${{ runner.arch }}-buildx-${{ github.sha }}
9898
restore-keys: |
99-
${{ runner.os }}-buildx-
99+
${{ runner.os }}-${{ runner.arch }}-buildx-
100100
- id: meta
101101
uses: docker/metadata-action@v3
102102
with:

0 commit comments

Comments
 (0)