Skip to content

Commit b5687ca

Browse files
authored
updated imagedefinitions.json
1 parent 77fa736 commit b5687ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ phases:
3131
- echo Pushing the Docker images...
3232
- docker push $REPOSITORY_URI:latest
3333
- docker push $REPOSITORY_URI:${CODEBUILD_BUILD_ID##*:}
34-
- "echo {\\\"image\\\":\\\"$REPOSITORY_URI:${CODEBUILD_BUILD_ID##*:}\\\"} > imagedefinitions.json"
34+
- printf '[{"name":"demo-test-web","imageUri":"%s"}]' $REPOSITORY_URI:$IMAGE_TAG > imagedefinitions.json
3535
artifacts:
3636
files: imagedefinitions.json

0 commit comments

Comments
 (0)