Skip to content

Commit c3cdfa8

Browse files
committed
Revert buildspec.ymlの修正
1 parent d577831 commit c3cdfa8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildspec.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ phases:
55
commands:
66
- echo Logging in to Amazon ECR...
77
- aws --version
8-
- $(aws ecr get-login-password --region ${AWS_DEFAULT_REGION})
98
- REPOSITORY_URI=${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com/${IMAGE_NAME}
9+
- 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
1011
- IMAGE_TAG=$(echo $CODEBUILD_RESOLVED_SOURCE_VERSION | cut -c 1-7)
1112
build:
1213
commands:

0 commit comments

Comments
 (0)