We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d577831 commit c3cdfa8Copy full SHA for c3cdfa8
buildspec.yml
@@ -5,8 +5,9 @@ phases:
5
commands:
6
- echo Logging in to Amazon ECR...
7
- aws --version
8
- - $(aws ecr get-login-password --region ${AWS_DEFAULT_REGION})
9
- REPOSITORY_URI=${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com/${IMAGE_NAME}
+ - REGISTORY_URI=${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com
10
+ - aws ecr get-login-password | docker login --username AWS --password-stdin $REGISTORY_URI
11
- IMAGE_TAG=$(echo $CODEBUILD_RESOLVED_SOURCE_VERSION | cut -c 1-7)
12
build:
13
0 commit comments