Skip to content

Commit c54535c

Browse files
author
mike dupont
committed
fix: no variables, just constants :)
1 parent 026458f commit c54535c

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

buildspec.yml

+5-9
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,16 @@ phases:
44
pre_build:
55
commands:
66
- echo Logging in to Amazon ECR...
7-
- codebuild-breakpoint
8-
- echo aws ecr get-login-password --region $AWS_DEFAULT_REGION
9-
- aws ecr get-login-password --region $AWS_DEFAULT_REGION
10-
- echo docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com
11-
- docker version
12-
- 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
7+
8+
- aws ecr get-login-password --region us-east-2 | docker login --username AWS --password-stdin 767503528736.dkr.ecr.us-east-2.amazonaws.com
139
build:
1410
commands:
1511
- echo Build started on `date`
1612
- echo Building the Docker image...
17-
- docker build -t $IMAGE_REPO_NAME:$IMAGE_TAG .
18-
- docker tag $IMAGE_REPO_NAME:$IMAGE_TAG $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$IMAGE_REPO_NAME:$IMAGE_TAG
13+
- docker build -t nodemodules/tokenizer:latest .
14+
- docker tag nodemodules/tokenizer:latest 767503528736.dkr.ecr.us-east-2.amazonaws.com/nodemodules/tokenizer:latest
1915
post_build:
2016
commands:
2117
- echo Build completed on `date`
2218
- echo Pushing the Docker image...
23-
- docker push $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$IMAGE_REPO_NAME:$IMAGE_TAG
19+
- docker push 767503528736.dkr.ecr.us-east-2.amazonaws.com/nodemodules/tokenizer:latest

0 commit comments

Comments
 (0)