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 5f0354d + 368e2f5 commit ccc7548Copy full SHA for ccc7548
src/buildx/history.ts
@@ -26,6 +26,7 @@ import {Context} from '../context';
26
import {Docker} from '../docker/docker';
27
import {Exec} from '../exec';
28
import {GitHub} from '../github';
29
+import {Util} from '../util';
30
31
import {ExportRecordOpts, ExportRecordResponse, Summaries} from '../types/buildx/history';
32
@@ -85,7 +86,7 @@ export class History {
85
86
fs.mkdirSync(outDir, {recursive: true});
87
88
// wait 3 seconds to ensure build records are finalized: https://github.com/moby/buildkit/pull/5109
- await new Promise(resolve => setTimeout(resolve, 3000));
89
+ await Util.sleep(3);
90
91
const buildxInFifoPath = Context.tmpName({
92
template: 'buildx-in-XXXXXX.fifo',
0 commit comments