From 1bbd39c7c55bcf6569fc71c15027ef8fe15c7791 Mon Sep 17 00:00:00 2001 From: David Porter Date: Fri, 1 Mar 2024 20:07:27 -0800 Subject: [PATCH] build docker - add --provenance=false flag This is causing failure to combine the multi-arch images. See https://github.com/docker/buildx/issues/1509 for discussion Signed-off-by: David Porter --- build/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/release.sh b/build/release.sh index 367cd9ceeb..b0401e3b30 100755 --- a/build/release.sh +++ b/build/release.sh @@ -71,7 +71,7 @@ done for arch in "${!arches[@]}"; do GOARCH="$arch" GO_CGO_ENABLED="0" OUTPUT_NAME_WITH_ARCH="true" build/build.sh arch_specific_image="${image_name}-${arch}:${VERSION}" - docker buildx build --platform "linux/${arch}" --build-arg VERSION="$VERSION" -f deploy/Dockerfile -t "$arch_specific_image" --progress plain --push . + docker buildx build --platform "linux/${arch}" --provenance=false --build-arg VERSION="$VERSION" -f deploy/Dockerfile -t "$arch_specific_image" --progress plain --push . docker manifest create --amend "$final_image" "$arch_specific_image" docker manifest annotate --os=linux --arch="$arch" "$final_image" "$arch_specific_image" done