diff --git a/src/utilities/dockerUtils.ts b/src/utilities/dockerUtils.ts index 3599a3643..1064509ac 100644 --- a/src/utilities/dockerUtils.ts +++ b/src/utilities/dockerUtils.ts @@ -23,7 +23,11 @@ export async function getDeploymentConfig(): Promise { ) } - const imageNames = core.getInput('images').split('\n') || [] + const imageNames = + core + .getInput('images') + .split('\n') + .filter((image) => image.length > 0) || [] const imageDockerfilePathMap: {[id: string]: string} = {} const pullImages = !(core.getInput('pull-images').toLowerCase() === 'false')