ci: add --userns=host to nested Fedora build container
Some checks failed
Build veilor-os ISO / Build live ISO (push) Failing after 14s
Lint / Kickstart syntax (push) Failing after 2s
Lint / Shell scripts (push) Failing after 6s
Lint / No personal/onyx leaks (push) Failing after 3s

Forgejo runner on nullstone runs against a daemon with
userns-remap=default. addnab/docker-run-action launches the Fedora 43
build container with --privileged, which is incompatible with
userns-remap unless --userns=host is also set.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
claude-veilor-bot 2026-05-06 14:07:22 +01:00
parent 5a71dde3c1
commit d91066b926

View file

@ -55,6 +55,7 @@ jobs:
image: registry.fedoraproject.org/fedora:43@sha256:72e874e771b953c6357c7a5823c6fc1e3e3253b90121e795febe01380e32269b image: registry.fedoraproject.org/fedora:43@sha256:72e874e771b953c6357c7a5823c6fc1e3e3253b90121e795febe01380e32269b
options: | options: |
--privileged --privileged
--userns=host
-v ${{ github.workspace }}:/work -v ${{ github.workspace }}:/work
-v /dev:/dev -v /dev:/dev
--tmpfs /tmp:rw,nosuid,nodev,exec,size=16G --tmpfs /tmp:rw,nosuid,nodev,exec,size=16G