1
0
mirror of https://github.com/docker/setup-qemu-action.git synced 2025-07-18 12:40:09 +08:00
setup-qemu-action/src/context.ts
CrazyMax 3496826faa
Uninstall current emulators
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-08 19:10:39 +02:00

16 lines
339 B
TypeScript

import * as core from '@actions/core';
export interface Inputs {
image: string;
platforms: string;
reset: boolean;
}
export function getInputs(): Inputs {
return {
image: core.getInput('image') || 'tonistiigi/binfmt:latest',
platforms: core.getInput('platforms') || 'all',
reset: core.getBooleanInput('reset')
};
}