Compare commits

...

4 Commits

Author SHA1 Message Date
Vidya Reddy ce6bc40bc4 added regex to check whitespace 2022-08-06 10:25:18 +05:30
Vidya Reddy 36041268eb fixes 2022-08-04 15:45:13 +05:30
Vidya Reddy 36b55e389b fixes 2022-07-29 17:58:29 +05:30
Vidya Reddy 6e560d48e7 Fixes to the docker with no images 2022-07-28 19:54:59 +05:30
+6 -1
View File
@@ -23,7 +23,12 @@ export async function getDeploymentConfig(): Promise<DeploymentConfig> {
) )
} }
const imageNames = core.getInput('images').split('\n') || [] let imageNames = core.getInput('images').split('\n') || []
imageNames.forEach((element) => {
if (element === null || '/^s+$/') {
imageNames.pop()
}
})
const imageDockerfilePathMap: {[id: string]: string} = {} const imageDockerfilePathMap: {[id: string]: string} = {}
const pullImages = !(core.getInput('pull-images').toLowerCase() === 'false') const pullImages = !(core.getInput('pull-images').toLowerCase() === 'false')