mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-08 02:53:25 -08:00
[CI] Invalidate build image cache when Dockerfile changes
This commit is contained in:
parent
384751a292
commit
e029f8603c
1 changed files with 1 additions and 1 deletions
2
.github/workflows/desktop-build.yml
vendored
2
.github/workflows/desktop-build.yml
vendored
|
|
@ -189,7 +189,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