Save BuildKit state on client for cache support

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-04-22 14:05:15 +02:00
parent 74283caced
commit f3f23a5162
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
9 changed files with 127 additions and 8 deletions

View file

@ -30,6 +30,7 @@ export interface Inputs {
endpoint: string;
config: string;
configInline: string;
stateDir: string;
}
export async function getInputs(): Promise<Inputs> {
@ -42,7 +43,8 @@ export async function getInputs(): Promise<Inputs> {
use: core.getBooleanInput('use'),
endpoint: core.getInput('endpoint'),
config: core.getInput('config'),
configInline: core.getInput('config-inline')
configInline: core.getInput('config-inline'),
stateDir: core.getInput('state-dir')
};
}