Skip to content

Commit 28b1258

Browse files
committed
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 <[email protected]>
1 parent 5c48d02 commit 28b1258

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ validatepr: ## Go Format and lint, which all code changes must pass
335335
$(PODMANCMD) run --rm \
336336
-v $(CURDIR):/go/src/github.com/containers/podman \
337337
--security-opt label=disable \
338+
--network=host \
338339
-it \
339340
-w /go/src/github.com/containers/podman \
340341
quay.io/libpod/validatepr:latest \

0 commit comments

Comments
 (0)