From f4355472b5b1d06634f3b4cfbca086155dfc7e1b Mon Sep 17 00:00:00 2001 From: eternaltyro Date: Thu, 16 May 2024 18:37:46 +0530 Subject: [PATCH] Test image output from build job Signed-off-by: eternaltyro <230743+eternaltyro@users.noreply.github.com> --- .github/workflows/ecs-deploy.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ecs-deploy.yml b/.github/workflows/ecs-deploy.yml index e0102e8a51..14df372a3c 100644 --- a/.github/workflows/ecs-deploy.yml +++ b/.github/workflows/ecs-deploy.yml @@ -27,11 +27,8 @@ jobs: imageid: steps.build-push-image.imageid steps: - - name: Setup QEMU - uses: docker/setup-qemu-action@v3 - - - name: Setup Buildx - uses: docker/setup-buildx-action@v3 + - uses: docker/setup-qemu-action@v3 + - uses: docker/setup-buildx-action@v3 - name: Log in to the Container registry uses: docker/login-action@v3 @@ -70,8 +67,7 @@ jobs: id-token: write steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 @@ -90,8 +86,8 @@ jobs: with: task-definition: task-definition.json container-name: ${{ env.CONTAINER_NAME }} - image: ${{ env.IMAGE_NAME }}:fastapi -# image: ${{ needs.build-push-image.outputs.imageid }} # WHY NOT WORKS? +# image: ${{ env.IMAGE_NAME }}:fastapi + image: ${{ needs.build-push-image.outputs.imageid }} # WHY NOT WORKS? - name: Deploy task definition uses: aws-actions/amazon-ecs-deploy-task-definition@v1