mirror of
https://gitea.com/docker/setup-qemu-action.git
synced 2024-11-23 01:49:32 +01: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'
|
||
|
};
|
||
|
}
|