diff --git a/index.js b/index.js index 68cd571..7a4bc62 100644 --- a/index.js +++ b/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)