Skip to content

Commit

Permalink
Merge pull request #3487 from bobbypage/build-fix
Browse files Browse the repository at this point in the history
build docker - add --provenance=false flag
  • Loading branch information
bobbypage committed Mar 2, 2024
2 parents 591c814 + 06f176d commit 570d8a7
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 570d8a7

Please sign in to comment.