You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
executionContext.Warning($"Docker login for '{container.RegistryServer}' failed with exit code {loginExitCode}, back off {backOff.TotalSeconds} seconds before retry.");
492
-
awaitTask.Delay(backOff);
493
-
}
494
-
}
495
-
}
479
+
executionContext.Warning($"Docker login for '{container.RegistryServer}' failed with exit code {loginExitCode}, back off {backoff.TotalSeconds} seconds before retry.");
480
+
},
481
+
});
496
482
497
-
if(retryCount==3&&loginExitCode!=0)
483
+
awaitloginRetryHelper.ExecuteAsync(
484
+
operationName:nameof(ContainerRegistryLogin),
485
+
operation:async()=>
486
+
{
487
+
loginExitCode=await_dockerManager.DockerLogin(
488
+
executionContext,
489
+
configLocation,
490
+
container.RegistryServer,
491
+
container.RegistryAuthUsername,
492
+
container.RegistryAuthPassword);
493
+
494
+
returnloginExitCode==0
495
+
?OperationOutcome.Success(true)
496
+
:OperationOutcome.TransientFailure<bool>($"Docker login for '{container.RegistryServer}' failed with exit code {loginExitCode}");
0 commit comments