Skip to content

Commit 5aa6e9f

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci-docker.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
- uses: actions/cache@v3
2121
with:
2222
path: /tmp/.buildx-cache
23-
key: ${{ runner.os }}-buildx-${{ github.sha }}
23+
key: ${{ runner.os }}-${{ runner.arch }}-buildx-${{ github.sha }}
2424
restore-keys: |
25-
${{ runner.os }}-buildx-
25+
${{ runner.os }}-${{ runner.arch }}-buildx-
2626
- id: meta
2727
uses: docker/metadata-action@v3
2828
with:
@@ -57,9 +57,9 @@ jobs:
5757
- uses: actions/cache@v3
5858
with:
5959
path: /tmp/.buildx-cache
60-
key: ${{ runner.os }}-buildx-${{ github.sha }}
60+
key: ${{ runner.os }}-${{ runner.arch }}-buildx-${{ github.sha }}
6161
restore-keys: |
62-
${{ runner.os }}-buildx-
62+
${{ runner.os }}-${{ runner.arch }}-buildx-
6363
- id: meta
6464
uses: docker/metadata-action@v3
6565
with:

0 commit comments

Comments
 (0)