Skip to content

Commit

Permalink
enhance: enable docker buildkit (milvus-io#31600)
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Huang <[email protected]>
  • Loading branch information
yellow-shine authored Mar 27, 2024
1 parent efa645d commit d88026b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/jenkins/PublishGPUImages.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions ci/jenkins/PublishImages.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d88026b

Please sign in to comment.