File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3333
3434env :
3535 AWS_REGION : MY_AWS_REGION # set this to your preferred AWS region, e.g. us-west-1
36- ecr_repository : MY_ECR_REPOSITORY # set this to your Amazon ECR repository name
36+ ECR_REPOSITORY : my_ecr_repository # set this to your Amazon ECR repository name
3737 ECS_SERVICE : MY_ECS_SERVICE # set this to your Amazon ECS service name
3838 ECS_CLUSTER : MY_ECS_CLUSTER # set this to your Amazon ECS cluster name
3939 ECS_TASK_DEFINITION : MY_ECS_TASK_DEFINITION # set this to the path to your Amazon ECS task definition
7474 # Build a docker container and
7575 # push it to ECR so that it can
7676 # be deployed to ECS.
77- docker build -t $ECR_REGISTRY/$ecr_repository :$IMAGE_TAG .
78- docker push $ECR_REGISTRY/$ecr_repository :$IMAGE_TAG
79- echo "image=$ECR_REGISTRY/$ecr_repository :$IMAGE_TAG" >> $GITHUB_OUTPUT
77+ docker build -t $ECR_REGISTRY/$ECR_REPOSITORY :$IMAGE_TAG .
78+ docker push $ECR_REGISTRY/$ECR_REPOSITORY :$IMAGE_TAG
79+ echo "image=$ECR_REGISTRY/$ECR_REPOSITORY :$IMAGE_TAG" >> $GITHUB_OUTPUT
8080
8181 - name : Fill in the new image ID in the Amazon ECS task definition
8282 id : task-def
You can’t perform that action at this time.
0 commit comments