Use custom image for make validatepr

The fedora image reviewers wanted to use for make validatepr is not
being being built as a multiarch image.  Use quay.io/libpod/validatepr
instead.

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude
2024-04-24 13:06:06 -05:00
parent ebc48503a8
commit ca23774b5b

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