Skip to content

Commit 081b9bc

Browse files
authored
Use buildx to build syncer images (#3390)
Signed-off-by: Deepak Kinni <[email protected]>
1 parent 0ce6df7 commit 081b9bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function build_driver_images_linux() {
147147

148148
function build_syncer_image_linux() {
149149
echo "building ${SYNCER_IMAGE_NAME}:${VERSION} for linux"
150-
docker build \
150+
docker buildx build --platform "linux/$ARCH"\
151151
-f images/syncer/Dockerfile \
152152
-t "${SYNCER_IMAGE_NAME}":"${VERSION}" \
153153
--build-arg "VERSION=${VERSION}" \

0 commit comments

Comments
 (0)