Skip to content

Commit

Permalink
feat: dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
guimroque committed Jun 21, 2024
1 parent 6a60b2c commit 4ce0cb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/aws-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,16 @@ jobs:
platforms: linux/arm64
push: true
tags: ${{ env.ECR_REGISTRY }}/${{ env.ECR_NAME }}:${{ env.IMAGE_TAG }}
outputs:
image: ${{ steps.docker_build.outputs.image }}

- name: Fill in the new image ID in the Amazon ECS task definition
id: task_def
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: ./packages/api/prod_task_definition.json
container-name: bako-safe-api
image: ${{ env.ECR_REGISTRY }}/${{ env.ECR_NAME }}:${{ env.IMAGE_TAG }}
image: ${{ steps.docker_build.outputs.image }}

- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
Expand Down

0 comments on commit 4ce0cb1

Please sign in to comment.