Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 141a3f7

Browse files
committed
updated the aws ecr login command
1 parent 87a3f9d commit 141a3f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/buildspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ phases:
1616
pre_build:
1717
commands:
1818
- echo Logging in to Amazon ECR...
19-
- $(aws ecr get-login --no-include-email --region $AWS_DEFAULT_REGION)
19+
- aws ecr get-login-password --region $AWS_DEFAULT_REGION | docker login --username AWS --password-stdin 515193369038.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com
2020
build:
2121
commands:
2222
- echo Build started on `date`

0 commit comments

Comments
 (0)