mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-06 01:53:25 -08:00
[CI] Invalidate build image cache when Dockerfile changes
This commit is contained in:
parent
58ccc60638
commit
05cf3f10ab
1 changed files with 1 additions and 1 deletions
2
.github/workflows/desktop-build.yml
vendored
2
.github/workflows/desktop-build.yml
vendored
|
|
@ -197,7 +197,7 @@ jobs:
|
|||
id: restore_image_cache
|
||||
uses: actions/cache/restore@v6
|
||||
with:
|
||||
key: image-${{ matrix.distro }}${{ matrix.version }}${{ matrix.variant }}
|
||||
key: image-${{ matrix.distro }}${{ matrix.version }}${{ matrix.variant }}-${{ hashFiles(format('.ci/{0}{1}/**', matrix.distro, matrix.version)) }}
|
||||
path: ${{ env.CACHE }}/image
|
||||
|
||||
- name: "Build ${{ matrix.distro }} ${{ matrix.version }} Docker image"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue