From ca23774b5bc0f748ed6e3063eea5de2d151b1629 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Wed, 24 Apr 2024 13:06:06 -0500 Subject: [PATCH] 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 --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b6fc224aac..7b1e79d365 100644 --- a/Makefile +++ b/Makefile @@ -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