Skip to content

Commit

Permalink
Test image output from build job
Browse files Browse the repository at this point in the history
Signed-off-by: eternaltyro <[email protected]>
  • Loading branch information
eternaltyro committed May 16, 2024
1 parent c22b331 commit f435547
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ecs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f435547

Please sign in to comment.