File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 2626on :
2727 push :
2828 branches :
29- - master
29+ - develop
3030
31- name : Deploying to Amazon ECS
31+ name : Deploying to Amazon ECS the go app
3232
3333jobs :
3434 deploy :
@@ -70,13 +70,13 @@ jobs:
7070 uses : aws-actions/amazon-ecs-render-task-definition@v1
7171 with :
7272 task-definition : task-definition.json
73- container-name : git-deploy-aws-ecs-container
73+ container-name : GitDeployAwsEcs
7474 image : ${{ steps.build-image.outputs.image }}
7575
7676 - name : Deploy Amazon ECS task definition
7777 uses : aws-actions/amazon-ecs-deploy-task-definition@v1
7878 with :
7979 task-definition : ${{ steps.task-def.outputs.task-definition }}
80- service : git-deploy-aws-ecs-container-service
81- cluster : default-cluster
80+ service : GitDeployAwsEcsService
81+ cluster : GitDeployAwsEcsCluster
8282 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/git-deploy-aws-ecs-task-definition " ,
12+ "awslogs-group" : " /ecs/GitDeployAwsEcsTask " ,
1313 "awslogs-region" : " us-east-2" ,
1414 "awslogs-stream-prefix" : " ecs"
1515 }
1616 },
1717 "entryPoint" : [],
1818 "portMappings" : [
1919 {
20- "hostPort" : 80 ,
20+ "hostPort" : 8080 ,
2121 "protocol" : " tcp" ,
22- "containerPort" : 80
22+ "containerPort" : 8080
2323 }
2424 ],
2525 "command" : [],
3737 "memoryReservation" : 512 ,
3838 "volumesFrom" : [],
3939 "stopTimeout" : null ,
40- "image" : " 027479467189.dkr.ecr.us-east-2.amazonaws.com/git-deploy-aws-ecs" ,
40+ "image" : " 027479467189.dkr.ecr.us-east-2.amazonaws.com/git-deploy-aws-ecs:latest " ,
4141 "startTimeout" : null ,
4242 "firelensConfiguration" : null ,
4343 "dependsOn" : null ,
5454 "dockerLabels" : null ,
5555 "systemControls" : null ,
5656 "privileged" : null ,
57- "name" : " git-deploy-aws-ecs-container "
57+ "name" : " GitDeployAwsEcs "
5858 }
5959 ],
6060 "placementConstraints" : [],
6464 " EC2" ,
6565 " FARGATE"
6666 ],
67- "taskDefinitionArn" : " arn:aws:ecs:us-east-2:027479467189:task-definition/git-deploy-aws-ecs-task-definition:4 " ,
68- "family" : " git-deploy-aws-ecs-task-definition " ,
67+ "taskDefinitionArn" : " arn:aws:ecs:us-east-2:027479467189:task-definition/GitDeployAwsEcsTask:1 " ,
68+ "family" : " GitDeployAwsEcsTask " ,
6969 "requiresAttributes" : [
7070 {
7171 "targetId" : null ,
122122 ],
123123 "networkMode" : " awsvpc" ,
124124 "cpu" : " 256" ,
125- "revision" : 4 ,
125+ "revision" : 1 ,
126126 "status" : " ACTIVE" ,
127127 "inferenceAccelerators" : null ,
128128 "proxyConfiguration" : null ,
You can’t perform that action at this time.
0 commit comments