From 66d067375e0ca17920ffaf41c538495245be8c40 Mon Sep 17 00:00:00 2001 From: opencode Date: Tue, 13 Oct 2026 07:17:37 +0200 Subject: [PATCH] [CI] Invalidate build image cache when Dockerfile changes --- .github/workflows/desktop-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 0409709cd..3dcbd7618 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -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"