mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-08 01:49:03 +00:00
Add support for 'platform' parameter (#75)
Signed-off-by: James Addison <jay@jp-hosting.net>
This commit is contained in:
parent
979e6a6c6e
commit
3bb95d0042
9 changed files with 119 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue