From b91321a1c73b8f323e520f4e637663c6587daf3a Mon Sep 17 00:00:00 2001 From: Thomas Roos Date: Thu, 19 Dec 2024 07:39:51 +0100 Subject: [PATCH] fix container cache --- .github/workflows/static-packaging.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/static-packaging.yml b/.github/workflows/static-packaging.yml index 17ff74d50..1e62f861c 100644 --- a/.github/workflows/static-packaging.yml +++ b/.github/workflows/static-packaging.yml @@ -17,13 +17,13 @@ jobs: - uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v3 - - name: Cache Podman storage + - name: Cache Podman storage (excluding overlay) uses: actions/cache@v4 with: - path: ~/.local/share/containers/ - key: - ${{ runner.os }}-${{ matrix.architecture }}-podman-${{ - hashFiles('misc/staticbuildtestcontainer/*') }} + path: | + ~/.local/share/containers + !~/.local/share/containers/storage/overlay + key: ${{ runner.os }}-${{ matrix.architecture }}-podman-${{ hashFiles('misc/staticbuildtestcontainer/*') }} restore-keys: | ${{ runner.os }}-${{ matrix.architecture }}-podman- - name: Build container for aarch64-linux-gnu