From 251d99795b0e9920759178015b78d7421831816f Mon Sep 17 00:00:00 2001 From: user Date: Sun, 22 Feb 2026 07:11:42 +0100 Subject: [PATCH] fix: use vfs storage driver for podman-in-container builds 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 --- .gitea/workflows/ci.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index a0d4d8d..def8bd3 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -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 }}" \