mirror of https://github.com/milvus-io/milvus.git
Fix Jenkins CI remove local docker images bug
Former-commit-id: ca4a21b49315f6ded581d5732e22541b97c44f31pull/191/head
parent
e45ba377b8
commit
83ce07b9d4
|
@ -37,11 +37,6 @@ container('publish-images') {
|
|||
if (isExistImage == 0) {
|
||||
sh "docker rmi ${imageName}"
|
||||
}
|
||||
|
||||
isExistImage = sh(returnStatus: true, script: "docker inspect --type=image ${dockerRegistryURL}/${imageName} 2>&1 > /dev/null")
|
||||
if (isExistImage == 0) {
|
||||
sh "docker rmi ${dockerRegistryURL}/${imageName}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue