Skip to content

Commit

Permalink
💚 Fixed typo and split push and update steps
Browse files Browse the repository at this point in the history
  • Loading branch information
aliberts committed Nov 24, 2023
1 parent 1dd30dd commit 7c9c74d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
run: |
docker build --platform linux/amd64 -t $ECR_REGISTRY/inews:latest .
docker push $ECR_REGISTRY/inews:latest
- name: Updating lambda
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
run: |
aws lambda update-function-code \
--function-name inews \
--image-uri $ECR_REGISTRY }}/inews:latest > /dev/null
--image-uri $ECR_REGISTRY/inews:latest > /dev/null

0 comments on commit 7c9c74d

Please sign in to comment.