| 14 | } |
| 15 | |
| 16 | export interface Inputs { |
| 17 | 'add-hosts': string[]; |
| 18 | allow: string[]; |
| 19 | annotations: string[]; |
| 20 | attests: string[]; |
| 21 | 'build-args': string[]; |
| 22 | 'build-contexts': string[]; |
| 23 | builder: string; |
| 24 | 'cache-from': string[]; |
| 25 | 'cache-to': string[]; |
| 26 | call: string; |
| 27 | 'cgroup-parent': string; |
| 28 | context: string; |
| 29 | file: string; |
| 30 | labels: string[]; |
| 31 | load: boolean; |
| 32 | network: string; |
| 33 | 'no-cache': boolean; |
| 34 | 'no-cache-filters': string[]; |
| 35 | outputs: string[]; |
| 36 | platforms: string[]; |
| 37 | provenance: string; |
| 38 | pull: boolean; |
| 39 | push: boolean; |
| 40 | sbom: string; |
| 41 | secrets: string[]; |
| 42 | 'secret-envs': string[]; |
| 43 | 'secret-files': string[]; |
| 44 | 'shm-size': string; |
| 45 | ssh: string[]; |
| 46 | tags: string[]; |
| 47 | target: string; |
| 48 | ulimit: string[]; |
| 49 | 'github-token': string; |
| 50 | } |
| 51 | |
| 52 | export async function getInputs(): Promise<Inputs> { |
| 53 | const defaultContext = await getDefaultContext(); |
nothing calls this directly
no outgoing calls
no test coverage detected