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 54
54
id : build-image
55
55
env :
56
56
ECR_REGISTRY : ${{ steps.login-ecr.outputs.registry }}
57
- ECR_REPOSITORY : dev-repos
57
+ ECR_REPOSITORY : ms-gin-go
58
58
IMAGE_TAG : ${{ github.sha }}
59
59
run : |
60
60
# Build a docker container and
@@ -69,13 +69,13 @@ jobs:
69
69
uses : aws-actions/amazon-ecs-render-task-definition@v1
70
70
with :
71
71
task-definition : task-definition.json
72
- container-name : ms-gin-go-app
72
+ container-name : ms-gin-go-container
73
73
image : ${{ steps.build-image.outputs.image }}
74
74
75
75
- name : Deploy Amazon ECS task definition
76
76
uses : aws-actions/amazon-ecs-deploy-task-definition@v1
77
77
with :
78
78
task-definition : ${{ steps.task-def.outputs.task-definition }}
79
- service : ms-gin-go-app -service
79
+ service : ms-gin-go-container -service
80
80
cluster : dev-cluster
81
81
wait-for-service-stability : true
Original file line number Diff line number Diff line change 9
9
"logDriver" : " awslogs" ,
10
10
"secretOptions" : null ,
11
11
"options" : {
12
- "awslogs-group" : " /ecs/ms-gin-go-app- task-definition " ,
12
+ "awslogs-group" : " /ecs/ms-gin-go-task-def " ,
13
13
"awslogs-region" : " us-east-2" ,
14
14
"awslogs-stream-prefix" : " ecs"
15
15
}
42
42
"memoryReservation" : 512 ,
43
43
"volumesFrom" : [],
44
44
"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 " ,
46
46
"startTimeout" : null ,
47
47
"firelensConfiguration" : null ,
48
48
"dependsOn" : null ,
59
59
"dockerLabels" : null ,
60
60
"systemControls" : null ,
61
61
"privileged" : null ,
62
- "name" : " ms-gin-go-app "
62
+ "name" : " ms-gin-go-container "
63
63
}
64
64
],
65
65
"placementConstraints" : [],
69
69
" EC2" ,
70
70
" FARGATE"
71
71
],
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 " ,
74
74
"requiresAttributes" : [
75
75
{
76
76
"targetId" : null ,
You can’t perform that action at this time.
0 commit comments