mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-21 23:21:26 +01:00
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:
parent
63ef743ba7
commit
9f1d538b5f
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user