Skip to content

Commit 1bbd39c

Browse files
committed
build docker - add --provenance=false flag
This is causing failure to combine the multi-arch images. See docker/buildx#1509 for discussion Signed-off-by: David Porter <[email protected]>
1 parent 74350be commit 1bbd39c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ done
7171
for arch in "${!arches[@]}"; do
7272
GOARCH="$arch" GO_CGO_ENABLED="0" OUTPUT_NAME_WITH_ARCH="true" build/build.sh
7373
arch_specific_image="${image_name}-${arch}:${VERSION}"
74-
docker buildx build --platform "linux/${arch}" --build-arg VERSION="$VERSION" -f deploy/Dockerfile -t "$arch_specific_image" --progress plain --push .
74+
docker buildx build --platform "linux/${arch}" --provenance=false --build-arg VERSION="$VERSION" -f deploy/Dockerfile -t "$arch_specific_image" --progress plain --push .
7575
docker manifest create --amend "$final_image" "$arch_specific_image"
7676
docker manifest annotate --os=linux --arch="$arch" "$final_image" "$arch_specific_image"
7777
done

0 commit comments

Comments
 (0)