We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 945af30 + 19f5e39 commit 6a8f167Copy full SHA for 6a8f167
src/docker/install.ts
@@ -207,6 +207,7 @@ export class Install {
207
}
208
});
209
proc.unref();
210
+ const retries = 20;
211
await retry(
212
async bail => {
213
await Exec.getExecOutput(`docker version`, undefined, {
@@ -231,8 +232,11 @@ export class Install {
231
232
233
},
234
{
- retries: 10,
235
- minTimeout: 1000
+ retries: retries,
236
+ minTimeout: 1000,
237
+ onRetry: (err, i) => {
238
+ core.info(`${err}. Retrying (${i}/${retries})...`);
239
+ }
240
241
);
242
core.info(`Docker daemon started started successfully`);
0 commit comments