mirror of
https://github.com/docker/setup-buildx-action.git
synced 2025-07-01 13:24:15 +00:00
append nodes to builder support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
95cb08cb26
commit
2dfca373f3
12 changed files with 249 additions and 14 deletions
13
src/nodes.ts
Normal file
13
src/nodes.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
import * as yaml from 'js-yaml';
|
||||
|
||||
export type Node = {
|
||||
name?: string;
|
||||
endpoint?: string;
|
||||
'driver-opts'?: Array<string>;
|
||||
'buildkitd-flags'?: string;
|
||||
platforms?: string;
|
||||
};
|
||||
|
||||
export function Parse(data: string): Node[] {
|
||||
return yaml.load(data) as Node[];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue