Commit 8f70779b authored by Zach Loafman's avatar Zach Loafman

Don't die if the "docker rmi" fails

Slightly neuters #8955, but we haven't had a build succeed in a while for whatever reason. (I checked on Jenkins and the images in the build log where deletion was attempted were actually deleted, so I think this is primarily an exit code / API issue of some sort.)
parent 0579c19a
......@@ -633,7 +633,7 @@ function kube::release::create_docker_images_for_server() {
rm -rf ${docker_build_path}
kube::log::status "Deleting docker image ${docker_image_tag}"
"${DOCKER[@]}" rmi ${docker_image_tag}
"${DOCKER[@]}" rmi ${docker_image_tag} 2>/dev/null || true
) &
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment