fix: remove root-owned overlay path from buildah cache

The /var/lib/containers/storage/overlay directory is owned by root
(from the container-storage-action BTRFS mount). The actions/cache
post-cleanup step cannot remove it as the runner user, causing EACCES
warnings.

Co-Authored-By: opencode <opencode@opencode.ai>
This commit is contained in:
gunnar
2026-06-01 18:12:30 +02:00
co-authored by opencode
parent d9b5367f76
commit 20e1692ba0
-1
View File
@@ -84,7 +84,6 @@ jobs:
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with: with:
path: | path: |
/var/lib/containers/storage/overlay
~/.cache/buildah ~/.cache/buildah
/tmp/.buildah-cache /tmp/.buildah-cache
key: ${{ runner.os }}-${{ github.workflow }}-${{ hashFiles('Containerfile', 'build/**', 'configs/**', 'scripts/**') }}-${{ github.ref }} key: ${{ runner.os }}-${{ github.workflow }}-${{ hashFiles('Containerfile', 'build/**', 'configs/**', 'scripts/**') }}-${{ github.ref }}