diff --git a/ci/jenkins/PublishGPUImages.groovy b/ci/jenkins/PublishGPUImages.groovy index 59e086fb98e28..3613b4d379faf 100644 --- a/ci/jenkins/PublishGPUImages.groovy +++ b/ci/jenkins/PublishGPUImages.groovy @@ -50,6 +50,7 @@ pipeline { export MILVUS_IMAGE_REPO="${env.TARGET_REPO}/milvus" export MILVUS_HARBOR_IMAGE_REPO="${env.HARBOR_REPO}/milvus/milvus" export MILVUS_IMAGE_TAG="${env.BRANCH_NAME}-${date}-${gitShortCommit}-gpu" + export DOCKER_BUILDKIT=1 build/build_image_gpu.sh docker push \${MILVUS_IMAGE_REPO}:\${MILVUS_IMAGE_TAG} docker tag \${MILVUS_IMAGE_REPO}:\${MILVUS_IMAGE_TAG} \${MILVUS_IMAGE_REPO}:${env.BRANCH_NAME}-latest-gpu diff --git a/ci/jenkins/PublishImages.groovy b/ci/jenkins/PublishImages.groovy index 8722b802b9fd6..6f92b6a7996c8 100644 --- a/ci/jenkins/PublishImages.groovy +++ b/ci/jenkins/PublishImages.groovy @@ -70,6 +70,7 @@ pipeline { export MILVUS_IMAGE_REPO="${env.TARGET_REPO}/milvus" export MILVUS_HARBOR_IMAGE_REPO="${env.HARBOR_REPO}/milvus/milvus" export MILVUS_IMAGE_TAG="${imageTag}-amd64" + export DOCKER_BUILDKIT=1 build/build_image.sh docker push \${MILVUS_IMAGE_REPO}:\${MILVUS_IMAGE_TAG} docker logout @@ -121,6 +122,7 @@ pipeline { export MILVUS_IMAGE_REPO="${env.TARGET_REPO}/milvus" export MILVUS_HARBOR_IMAGE_REPO="${env.HARBOR_REPO}/milvus/milvus" export MILVUS_IMAGE_TAG="${imageTag}-arm64" + export DOCKER_BUILDKIT=1 BUILD_ARGS="--build-arg TARGETARCH=arm64" build/build_image.sh docker push \${MILVUS_IMAGE_REPO}:\${MILVUS_IMAGE_TAG} docker logout