MCPcopy
hub / github.com/docker/build-push-action / getDefaultContext

Function getDefaultContext

src/context.ts:11–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9let defaultContextPromise: Promise<string> | undefined;
10
11async function getDefaultContext(): Promise<string> {
12 defaultContextPromise ??= new Build().gitContext();
13 return await defaultContextPromise;
14}
15
16export interface Inputs {
17 'add-hosts': string[];

Callers 2

getInputsFunction · 0.85
getBuildArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected