mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-04-13 01:52:20 +08:00
fixes
This commit is contained in:
parent
6e560d48e7
commit
36b55e389b
@ -23,9 +23,11 @@ export async function getDeploymentConfig(): Promise<DeploymentConfig> {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const imageNames = core.getInput('images').split('\n') || []
|
let imageNames = core.getInput('images').split('\n') || []
|
||||||
if (imageNames.length == 1 && imageNames[0] == '') {
|
const imageStr = imageNames.toString()
|
||||||
imageNames[0] = '[]'
|
if (imageStr == ' ') {
|
||||||
|
const arr: string[] = []
|
||||||
|
imageNames = arr
|
||||||
}
|
}
|
||||||
const imageDockerfilePathMap: {[id: string]: string} = {}
|
const imageDockerfilePathMap: {[id: string]: string} = {}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user