mirror of https://github.com/milvus-io/milvus.git
test: [skip e2e] fix image tag (#33764)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>pull/33772/head
parent
9a141b52f9
commit
17120afec6
|
@ -73,6 +73,7 @@ pipeline {
|
|||
export MILVUS_IMAGE_TAG="${imageTag}-amd64"
|
||||
export DOCKER_BUILDKIT=1
|
||||
build/build_image.sh
|
||||
docker tag \${MILVUS_IMAGE_REPO}:\${MILVUS_IMAGE_TAG} \${MILVUS_HARBOR_IMAGE_REPO}:\${MILVUS_IMAGE_TAG}
|
||||
docker push \${MILVUS_HARBOR_IMAGE_REPO}:\${MILVUS_IMAGE_TAG}
|
||||
docker logout
|
||||
"""
|
||||
|
@ -84,7 +85,6 @@ 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"
|
||||
docker tag \${MILVUS_HARBOR_IMAGE_REPO}:\${MILVUS_IMAGE_TAG} \${MILVUS_IMAGE_REPO}:\${MILVUS_IMAGE_TAG}
|
||||
docker push \${MILVUS_IMAGE_REPO}:\${MILVUS_IMAGE_TAG}
|
||||
docker logout
|
||||
"""
|
||||
|
@ -125,6 +125,7 @@ pipeline {
|
|||
export MILVUS_IMAGE_TAG="${imageTag}-arm64"
|
||||
export DOCKER_BUILDKIT=1
|
||||
BUILD_ARGS="--build-arg TARGETARCH=arm64" build/build_image.sh
|
||||
docker tag \${MILVUS_IMAGE_REPO}:\${MILVUS_IMAGE_TAG} \${MILVUS_HARBOR_IMAGE_REPO}:\${MILVUS_IMAGE_TAG}
|
||||
docker push \${MILVUS_HARBOR_IMAGE_REPO}:\${MILVUS_IMAGE_TAG}
|
||||
docker logout
|
||||
"""
|
||||
|
@ -136,7 +137,6 @@ 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"
|
||||
docker tag \${MILVUS_HARBOR_IMAGE_REPO}:\${MILVUS_IMAGE_TAG} \${MILVUS_IMAGE_REPO}:\${MILVUS_IMAGE_TAG}
|
||||
docker push \${MILVUS_IMAGE_REPO}:\${MILVUS_IMAGE_TAG}
|
||||
docker logout
|
||||
docker rmi \${MILVUS_IMAGE_REPO}:\${MILVUS_IMAGE_TAG} -f
|
||||
|
|
Loading…
Reference in New Issue