Docker: be more informative on AWS image definition generation.
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2020 13:43:25 +0000 (15:43 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2020 13:46:39 +0000 (15:46 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
docker/buildspec.yml

index de5f0303b8d0ce8f53047335dda6fe66a29514d3..a4f881775288fffc085d03edce8a32ded8a8bc68 100644 (file)
@@ -31,6 +31,7 @@ phases:
   post_build:
     commands:
       - echo Build and push completed on `date`
+      - echo Writing image definitions file...
       - printf '[{"name":"%s","imageUri":"%s"}]' $ECS_CONTAINER_NAME $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$IMAGE_REPO_NAME:$IMAGE_TAG > imagedefinitions.json
 artifacts:
   files: imagedefinitions.json