Merge pull request #64 from Chocobo1/space
Trim off spaces in `platforms` string
This commit is contained in:
commit
38836d31bd
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -8,6 +8,11 @@ export interface Inputs {
|
|||
export function getInputs(): Inputs {
|
||||
return {
|
||||
image: core.getInput('image') || 'tonistiigi/binfmt:latest',
|
||||
platforms: core.getInput('platforms') || 'all'
|
||||
platforms:
|
||||
core
|
||||
.getInput('platforms')
|
||||
.split(',')
|
||||
.map(v => v.trim())
|
||||
.join(',') || 'all'
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue