fix: use vfs storage driver for podman-in-container builds
Some checks failed
ci / secrets (push) Successful in 6s
ci / test (push) Successful in 21s
ci / build (push) Failing after 24s

Runner ignores --privileged, so overlay mounts fail inside the
container. Switch to vfs storage driver via containers config.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
user
2026-02-22 07:11:42 +01:00
parent cca76d4974
commit 251d99795b

View File

@@ -31,11 +31,12 @@ jobs:
build:
needs: [test, secrets]
runs-on: linux
container:
image: quay.io/podman/stable
options: --privileged
container: quay.io/podman/stable
steps:
- run: dnf install -y git
- run: |
dnf install -y git
mkdir -p ~/.config/containers
printf '[storage]\ndriver = "vfs"\n' > ~/.config/containers/storage.conf
- run: |
git clone --depth 1 \
-c "http.extraHeader=Authorization: token ${{ github.token }}" \