File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 5454 id : build-image
5555 env :
5656 ECR_REGISTRY : ${{ steps.login-ecr.outputs.registry }}
57- ECR_REPOSITORY : dev-repos
57+ ECR_REPOSITORY : ms-gin-go
5858 IMAGE_TAG : ${{ github.sha }}
5959 run : |
6060 # Build a docker container and
@@ -69,13 +69,13 @@ jobs:
6969 uses : aws-actions/amazon-ecs-render-task-definition@v1
7070 with :
7171 task-definition : task-definition.json
72- container-name : ms-gin-go-app
72+ container-name : ms-gin-go-container
7373 image : ${{ steps.build-image.outputs.image }}
7474
7575 - name : Deploy Amazon ECS task definition
7676 uses : aws-actions/amazon-ecs-deploy-task-definition@v1
7777 with :
7878 task-definition : ${{ steps.task-def.outputs.task-definition }}
79- service : ms-gin-go-app -service
79+ service : ms-gin-go-container -service
8080 cluster : dev-cluster
8181 wait-for-service-stability : true
Original file line number Diff line number Diff line change 99 "logDriver" : " awslogs" ,
1010 "secretOptions" : null ,
1111 "options" : {
12- "awslogs-group" : " /ecs/ms-gin-go-app- task-definition " ,
12+ "awslogs-group" : " /ecs/ms-gin-go-task-def " ,
1313 "awslogs-region" : " us-east-2" ,
1414 "awslogs-stream-prefix" : " ecs"
1515 }
4242 "memoryReservation" : 512 ,
4343 "volumesFrom" : [],
4444 "stopTimeout" : null ,
45- "image" : " 027479467189.dkr.ecr.us-east-2.amazonaws.com/dev-repos " ,
45+ "image" : " 027479467189.dkr.ecr.us-east-2.amazonaws.com/ms-gin-go " ,
4646 "startTimeout" : null ,
4747 "firelensConfiguration" : null ,
4848 "dependsOn" : null ,
5959 "dockerLabels" : null ,
6060 "systemControls" : null ,
6161 "privileged" : null ,
62- "name" : " ms-gin-go-app "
62+ "name" : " ms-gin-go-container "
6363 }
6464 ],
6565 "placementConstraints" : [],
6969 " EC2" ,
7070 " FARGATE"
7171 ],
72- "taskDefinitionArn" : " arn:aws:ecs:us-east-2:027479467189:task-definition/ms-gin-go-app- task-definition :1" ,
73- "family" : " ms-gin-go-app- task-definition " ,
72+ "taskDefinitionArn" : " arn:aws:ecs:us-east-2:027479467189:task-definition/ms-gin-go-task-def :1" ,
73+ "family" : " ms-gin-go-task-def " ,
7474 "requiresAttributes" : [
7575 {
7676 "targetId" : null ,
You can’t perform that action at this time.
0 commit comments