This is an automated email from the ASF dual-hosted git repository.
aw pushed a commit to branch YETUS-1138
in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/YETUS-1138 by this push:
new 15fffbb fixup! YETUS-1138. Better support for multiple architectures
15fffbb is described below
commit 15fffbb2f8ea3745cf05d36b2330ab94a69c72ac
Author: Allen Wittenauer <[email protected]>
AuthorDate: Fri Nov 12 19:24:55 2021 -0800
fixup! YETUS-1138. Better support for multiple architectures
---
hooks/build | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hooks/build b/hooks/build
index 11a14db..b96ebdc 100755
--- a/hooks/build
+++ b/hooks/build
@@ -40,6 +40,9 @@ if [[ -z "${DOCKER_REPO}" ]]; then
export DOCKER_REPO
fi
+# enable multi-platform
+docker buildx create --use
+
# Build the -base image
docker buildx build --platform linux/amd64,linux/arm64 \
--label "git-commit-sha=${SOURCE_COMMIT}" \