mirror of
https://github.com/docker/build-push-action.git
synced 2025-06-19 17:27:12 +02:00
Test GitHub Cache
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@ -18,6 +18,7 @@ export interface Inputs {
|
||||
outputs: string[];
|
||||
cacheFrom: string[];
|
||||
cacheTo: string[];
|
||||
cacheGithub: boolean;
|
||||
bake: boolean;
|
||||
bakeFiles: string[];
|
||||
bakeTargets: string[];
|
||||
@ -41,6 +42,7 @@ export async function getInputs(): Promise<Inputs> {
|
||||
outputs: await getInputList('outputs'),
|
||||
cacheFrom: await getInputList('cache-from'),
|
||||
cacheTo: await getInputList('cache-to'),
|
||||
cacheGithub: /true/i.test(core.getInput('cache-github')),
|
||||
bake: /true/i.test(core.getInput('bake')),
|
||||
bakeFiles: await getInputList('bake-files'),
|
||||
bakeTargets: await getInputList('bake-targets')
|
||||
|
Reference in New Issue
Block a user