Skip to content

Commit 18da96a

Browse files
committed
chore(ci): fix cache key
1 parent 79646b3 commit 18da96a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,10 @@ jobs:
197197
id: docker-images-cache
198198
with:
199199
path: /tmp/docker-images
200-
key: docker-images-additional
200+
key: ${{ runner.os }}-images-additional-${{ github.ref }}-${{ github.sha }}
201+
restore-keys: |
202+
${{ runner.os }}-images-additional-${{ github.ref }}-
203+
${{ runner.os }}-images-additional-
201204
- name: Load or pull Docker images
202205
run: |
203206
mkdir -p /tmp/docker-images

0 commit comments

Comments
 (0)