Skip to content

Commit

Permalink
Update ecs-task.definition.json container name
Browse files Browse the repository at this point in the history
  • Loading branch information
FernandoAlvarez28 committed Aug 16, 2023
1 parent 711a041 commit 1f0bc4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .aws/ecs-task.definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

"containerDefinitions": [
{
"name": "kotlincrud-pg-prod-app",
"name": "app",
"image": "to be updated by github action",
"cpu": 256,
"memory": 512,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docker-image-to-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f0bc4c

Please sign in to comment.