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
e98b8f0c69
commit
84ed650ac0
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
|
id: restore_image_cache
|
||||||
uses: actions/cache/restore@v6
|
uses: actions/cache/restore@v6
|
||||||
with:
|
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
|
path: ${{ env.CACHE }}/image
|
||||||
|
|
||||||
- name: "Build ${{ matrix.distro }} ${{ matrix.version }} Docker image"
|
- name: "Build ${{ matrix.distro }} ${{ matrix.version }} Docker image"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue