Skip to content

Commit

Permalink
Fix image name
Browse files Browse the repository at this point in the history
Signed-off-by: eternaltyro <230743+eternaltyro@users.noreply.github.com>
  • Loading branch information
eternaltyro committed May 16, 2024
1 parent 37caaf3 commit f08de70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ecs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

tags: |
type=ref,event=branch
type=raw,value=fastapi
- name: Build and push container image
id: build-push-image
Expand Down Expand Up @@ -88,7 +88,8 @@ jobs:
with:
task-definition: task-definition.json
container-name: ${{ env.CONTAINER_NAME }}
image: ${{ needs.build-push-image.outputs.imageid }}
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 f08de70

Please sign in to comment.