mirror of
https://github.com/containers/podman.git
synced 2025-11-28 09:09:44 +08:00
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:
1
Makefile
1
Makefile
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user