diff --git a/ci/jenkins/PublishGPUArmImages.groovy b/ci/jenkins/PublishGPUArmImages.groovy index 4d78b073ef56d..9c6831836b6b4 100644 --- a/ci/jenkins/PublishGPUArmImages.groovy +++ b/ci/jenkins/PublishGPUArmImages.groovy @@ -38,7 +38,7 @@ pipeline { export MILVUS_HARBOR_IMAGE_REPO="${env.HARBOR_REPO}/milvus/milvus" export MILVUS_IMAGE_TAG="${env.BRANCH_NAME}-${date}-${gitShortCommit}-gpu-arm" - docker build --build-arg -f "./build/docker/milvus/gpu/ubuntu22.04/Dockerfile" -t "${MILVUS_IMAGE_REPO}:${MILVUS_IMAGE_TAG}" . + docker build ---build-arg TARGETARCH=arm64 -f "./build/docker/milvus/gpu/ubuntu22.04/Dockerfile" -t "${MILVUS_IMAGE_REPO}:${MILVUS_IMAGE_TAG}" . docker push \${MILVUS_IMAGE_REPO}:\${MILVUS_IMAGE_TAG} docker tag \${MILVUS_IMAGE_REPO}:\${MILVUS_IMAGE_TAG} \${MILVUS_IMAGE_REPO}:${env.BRANCH_NAME}-latest-gpu