From bced007f87ad5061d6c3b864ad14bef1d8f4c88c Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Thu, 13 Jun 2024 13:36:07 +0200 Subject: [PATCH] Remove provenance information from image manifests Tools such as oc mirror do not support the provenence metadata added to the image manifests with newer docker buildx versions. This change disables the addition of provenance information. Signed-off-by: Evan Lezar --- deployments/container/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/deployments/container/Makefile b/deployments/container/Makefile index 9bc2d8d9..bd990bd1 100644 --- a/deployments/container/Makefile +++ b/deployments/container/Makefile @@ -92,6 +92,7 @@ ARTIFACTS_ROOT ?= $(shell realpath --relative-to=$(CURDIR) $(DIST_DIR)) $(BUILD_TARGETS): build-%: $(ARTIFACTS_ROOT) DOCKER_BUILDKIT=1 \ $(DOCKER) $(BUILDX) build --pull \ + --provenance=false --sbom=false \ $(DOCKER_BUILD_OPTIONS) \ $(DOCKER_BUILD_PLATFORM_OPTIONS) \ --tag $(IMAGE) \