fix error
This commit is contained in:
parent
78bd133b3b
commit
c9b256070b
2
index.js
2
index.js
@ -38,7 +38,7 @@ const ecs = new AWS.ECS({
|
||||
let image = taskDefinition.taskDefinition.containerDefinitions[0].image
|
||||
console.log('show image :: ', image)
|
||||
if (typeof gitHash === 'string' && gitHash.length > 0) {
|
||||
image = image.split(':')[0] + ':' gitHash
|
||||
image = image.split(':')[0] + ':' + gitHash
|
||||
taskDefinition.taskDefinition.containerDefinitions[0].image = image
|
||||
}
|
||||
console.log('show new image :: ', image)
|
||||
|
Loading…
Reference in New Issue
Block a user