From 26538ebccfb7843d22601eac29b5af43c16dc121 Mon Sep 17 00:00:00 2001 From: Alec Ananian <1013230+alecananian@users.noreply.github.com> Date: Fri, 24 May 2024 16:22:26 +0200 Subject: [PATCH] fix container name in deploy api workflow --- .github/workflows/deploy-api.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml index 15b4f0ad..4208f401 100644 --- a/.github/workflows/deploy-api.yml +++ b/.github/workflows/deploy-api.yml @@ -12,7 +12,6 @@ on: permissions: id-token: write contents: read - jobs: deploy: runs-on: ubuntu-latest @@ -41,7 +40,7 @@ jobs: uses: aws-actions/amazon-ecs-render-task-definition@v1 with: task-definition: ./apps/api/.aws/task-definition-${{ vars.ENVIRONMENT }}.json - container-name: development-identity + container-name: ${{ vars.ENVIRONMENT }}-identity image: ${{ steps.build-image.outputs.image }} environment-variables: | AWS_REGION=${{ vars.AWS_REGION }} @@ -53,4 +52,4 @@ jobs: task-definition: ${{ steps.task-def.outputs.task-definition }} service: ${{ vars.ECS_SERVICE }} cluster: ${{ vars.ECS_CLUSTER }} - wait-for-service-stability: true \ No newline at end of file + wait-for-service-stability: true