From 99d3cb41da711204b35814fe504e492ea4a2d6f5 Mon Sep 17 00:00:00 2001 From: Shih-Peng Wen Date: Thu, 21 Mar 2024 10:50:34 +0800 Subject: [PATCH] Update task_defination.json --- .github/workflows/task_defination.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/task_defination.json b/.github/workflows/task_defination.json index 2ac7d28..126d790 100644 --- a/.github/workflows/task_defination.json +++ b/.github/workflows/task_defination.json @@ -1,9 +1,9 @@ { - "taskDefinitionArn": "arn:aws:ecs:us-east-1:133622311370:task-definition/frontend:1", + "taskDefinitionArn": "arn:aws:ecs:us-east-1:133622311370:task-definition/frontend:4", "containerDefinitions": [ { "name": "frontend", - "image": "ndltd-tw-papers-graph/frontend", + "image": "133622311370.dkr.ecr.us-east-1.amazonaws.com/ndltd-tw-papers-graph:latest", "cpu": 0, "portMappings": [ { @@ -36,7 +36,7 @@ "family": "frontend", "executionRoleArn": "arn:aws:iam::133622311370:role/ecsTaskExecutionRole", "networkMode": "awsvpc", - "revision": 1, + "revision": 4, "volumes": [], "status": "ACTIVE", "requiresAttributes": [ @@ -46,9 +46,15 @@ { "name": "ecs.capability.execution-role-awslogs" }, + { + "name": "com.amazonaws.ecs.capability.ecr-auth" + }, { "name": "com.amazonaws.ecs.capability.docker-remote-api.1.19" }, + { + "name": "ecs.capability.execution-role-ecr-pull" + }, { "name": "com.amazonaws.ecs.capability.docker-remote-api.1.18" }, @@ -72,7 +78,7 @@ "cpuArchitecture": "X86_64", "operatingSystemFamily": "LINUX" }, - "registeredAt": "2024-03-20T13:46:38.934Z", + "registeredAt": "2024-03-21T02:42:54.884Z", "registeredBy": "arn:aws:iam::133622311370:root", "tags": [] }