mirror of
https://github.com/docker/setup-qemu-action.git
synced 2024-12-23 08:25:35 +00:00
14 lines
279 B
TypeScript
14 lines
279 B
TypeScript
|
import * as core from '@actions/core';
|
||
|
|
||
|
export interface Inputs {
|
||
|
image: string;
|
||
|
platforms: string;
|
||
|
}
|
||
|
|
||
|
export function getInputs(): Inputs {
|
||
|
return {
|
||
|
image: core.getInput('image') || 'tonistiigi/binfmt:latest',
|
||
|
platforms: core.getInput('platforms') || 'all'
|
||
|
};
|
||
|
}
|