We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 585865d commit c953920Copy full SHA for c953920
buildspec.yml
@@ -4,6 +4,10 @@ phases:
4
pre_build:
5
commands:
6
- echo Logging in to Amazon ECR...
7
+ - echo aws ecr get-login-password --region $AWS_DEFAULT_REGION
8
+ - aws ecr get-login-password --region $AWS_DEFAULT_REGION
9
+ - echo docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com
10
+ - docker version
11
- aws ecr get-login-password --region $AWS_DEFAULT_REGION | docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com
12
build:
13
0 commit comments