test: [skip e2e] fix image tag (#33764)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/33772/head
edward.zeng 2024-06-11 19:45:55 +08:00 committed by GitHub
parent 9a141b52f9
commit 17120afec6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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