From 1f0bc4c4aeb2be7da94f9ea6c241c0c15c244736 Mon Sep 17 00:00:00 2001 From: Fernando Alvarez Date: Wed, 16 Aug 2023 14:43:31 -0300 Subject: [PATCH] Update ecs-task.definition.json container name --- .aws/ecs-task.definition.json | 2 +- .github/workflows/deploy-docker-image-to-ecs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.aws/ecs-task.definition.json b/.aws/ecs-task.definition.json index 24be911..10ce4c8 100644 --- a/.aws/ecs-task.definition.json +++ b/.aws/ecs-task.definition.json @@ -11,7 +11,7 @@ "containerDefinitions": [ { - "name": "kotlincrud-pg-prod-app", + "name": "app", "image": "to be updated by github action", "cpu": 256, "memory": 512, diff --git a/.github/workflows/deploy-docker-image-to-ecs.yml b/.github/workflows/deploy-docker-image-to-ecs.yml index d402529..7509baa 100644 --- a/.github/workflows/deploy-docker-image-to-ecs.yml +++ b/.github/workflows/deploy-docker-image-to-ecs.yml @@ -84,7 +84,7 @@ jobs: uses: aws-actions/amazon-ecs-render-task-definition@v1 with: task-definition: ${{ env.ECS_TASK_DEFINITION_PATH }} - container-name: ${{ env.APP_NAME }} + container-name: app image: ${{ steps.build-image.outputs.imageid }} # https://github.com/marketplace/actions/amazon-ecs-deploy-task-definition-action-for-github-actions