Skip to content

Commit efbe8f9

Browse files
Merge pull request #1 from laironacosta/develop
Develop
2 parents 090f716 + d4f73b5 commit efbe8f9

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/aws.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
on:
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

3333
jobs:
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

task-definition.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
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": [],
@@ -37,7 +37,7 @@
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,
@@ -54,7 +54,7 @@
5454
"dockerLabels": null,
5555
"systemControls": null,
5656
"privileged": null,
57-
"name": "git-deploy-aws-ecs-container"
57+
"name": "GitDeployAwsEcs"
5858
}
5959
],
6060
"placementConstraints": [],
@@ -64,8 +64,8 @@
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,
@@ -122,7 +122,7 @@
122122
],
123123
"networkMode": "awsvpc",
124124
"cpu": "256",
125-
"revision": 4,
125+
"revision": 1,
126126
"status": "ACTIVE",
127127
"inferenceAccelerators": null,
128128
"proxyConfiguration": null,

0 commit comments

Comments
 (0)