mirror of
https://github.com/docker/setup-qemu-action.git
synced 2025-07-18 12:40:09 +08:00
16 lines
339 B
TypeScript
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')
|
|
};
|
|
}
|