Merge pull request #22494 from baude/validateimage

Use custom image for make validatepr
This commit is contained in:
openshift-merge-bot[bot]
2024-04-26 15:03:49 +00:00
committed by GitHub

View File

@ -315,12 +315,17 @@ codespell:
.PHONY: validate
validate: lint .gitvalidation validate.completions man-page-check swagger-check tests-expect-exit pr-removes-fixed-skips
# The image used below is generated manually from contrib/validatepr/Containerfile in this podman repo. The builds are
# not automated right now. The hope is that eventually the quay.io/libpod/fedora_podman is multiarch and can replace this
# image in the future.
.PHONY: validatepr
validatepr:
$(PODMANCMD) run --rm --env HOME=/root \
-v $(CURDIR):/var/tmp/go/src/github.com/containers/podman \
$(PODMANCMD) run --rm \
-v $(CURDIR):/go/src/github.com/containers/podman \
--security-opt label=disable \
quay.io/libpod/fedora_podman:latest \
-w /go/src/github.com/containers/podman \
quay.io/libpod/validatepr:latest \
make .validatepr
.PHONY: .validatepr