Add support for 'platform' parameter (#75)

Signed-off-by: James Addison <jay@jp-hosting.net>
This commit is contained in:
James Addison 2021-10-14 23:09:15 +01:00 committed by GitHub
parent 979e6a6c6e
commit 3bb95d0042
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 119 additions and 21 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