feat(cicd): try fix sometimes docker push time out

Signed-off-by: Ziming Zhang <zziming@vmware.com>
Change-Id: I67193a7c5b80d169237a884895627f68a1f65933
This commit is contained in:
Ziming Zhang 2020-01-20 11:51:03 +08:00
parent 63ef743ba7
commit 9f1d538b5f

View File

@ -11,7 +11,7 @@ except ImportError:
class DockerAPI(object):
def __init__(self):
self.DCLIENT = docker.APIClient(base_url='unix://var/run/docker.sock',version='auto',timeout=10)
self.DCLIENT = docker.APIClient(base_url='unix://var/run/docker.sock',version='auto',timeout=30)
self.DCLIENT2 = docker.from_env()
def docker_login(self, registry, username, password, expected_error_message = None):