Add draft implementation of 'platform' argument support

This commit is contained in:
James Addison 2021-10-05 23:38:03 +01:00
parent f123b1f960
commit 0c97e9954d
4 changed files with 30 additions and 8 deletions

View file

@ -81,6 +81,10 @@ export function getArch(): string {
return arch || archs;
}
export function getPlatform(): string {
return core.getInput(Inputs.PLATFORM);
}
export function getContainerfiles(): string[] {
// 'containerfile' should be used over 'dockerfile',
// see https://github.com/redhat-actions/buildah-build/issues/57