From 0889ea415416c15d3676a7b26d47f09cd8a840e2 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sun, 18 Sep 2022 02:16:17 +0200 Subject: [PATCH] return driver opts and buildkit version from nodes metadata Signed-off-by: CrazyMax --- src/buildx.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/buildx.ts b/src/buildx.ts index ab29ebb7..45ca8ca2 100644 --- a/src/buildx.ts +++ b/src/buildx.ts @@ -18,8 +18,10 @@ export type Builder = { export type Node = { name?: string; endpoint?: string; + 'driver-opts'?: Array; status?: string; 'buildkitd-flags'?: string; + buildkit?: string; platforms?: string; }; @@ -133,6 +135,10 @@ export async function inspect(name: string, standalone?: boolean): Promise v.replace(/^(.*)="(.*)"$/g, '$1=$2')); + break; + } case 'status': { node.status = value; break; @@ -141,6 +147,10 @@ export async function inspect(name: string, standalone?: boolean): Promise