Skip to content

Commit

Permalink
Merge pull request #3488 from bobbypage/cp-dockerbuildx
Browse files Browse the repository at this point in the history
build docker - add --provenance=false flag
  • Loading branch information
bobbypage authored Mar 2, 2024
2 parents 74350be + 1bbd39c commit 6f3f25b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f3f25b

Please sign in to comment.