Add --network=host to validatepr container for GitHub access

Allows the validatepr container to fetch dependencies from GitHub
during validation by enabling host networking.

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
This commit is contained in:
Jan Rodák
2025-11-19 13:40:11 +01:00
parent 5c48d02fe8
commit 28b125837b

View File

@@ -335,6 +335,7 @@ validatepr: ## Go Format and lint, which all code changes must pass
$(PODMANCMD) run --rm \
-v $(CURDIR):/go/src/github.com/containers/podman \
--security-opt label=disable \
--network=host \
-it \
-w /go/src/github.com/containers/podman \
quay.io/libpod/validatepr:latest \