Remove builder v1 support

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2020-08-16 05:53:50 +02:00
parent 585c2ae3b7
commit 78a1e0d9a3
8 changed files with 70 additions and 344 deletions

View File

@@ -38,17 +38,6 @@ export async function loadInputs(): Promise<Inputs> {
};
}
export async function mustBuildx(inputs: Inputs): Promise<boolean> {
return (
inputs.builder.length > 0 ||
inputs.platforms.length > 0 ||
inputs.load ||
inputs.outputs.length > 0 ||
inputs.cacheFrom.length > 0 ||
inputs.cacheTo.length > 0
);
}
async function getInputList(name: string): Promise<string[]> {
const items = core.getInput(name);
if (items == '') {