mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
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.)
This commit is contained in:
parent
0579c19a55
commit
8f70779b1b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user