From 05cf3f10abf8178f6b8e6297ca354a8c7fe48644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Mon, 2 Nov 2026 21:48:24 +0100 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 89e66d097..c06337e2b 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -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"