3
0
Fork 0
mirror of https://gitea.com/docker/setup-qemu-action.git synced 2024-11-23 01:49:32 +01:00
docker-setup-qemu/src/context.ts

14 lines
279 B
TypeScript
Raw Normal View History

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'
};
}