Skip to content

Commit 6f3f25b

Browse files
authored
Merge pull request #3488 from bobbypage/cp-dockerbuildx
build docker - add --provenance=false flag
2 parents 74350be + 1bbd39c commit 6f3f25b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/release.sh

+1-1
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)