File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,22 +24,22 @@ jobs:
2424
2525 - name : Login to Amazon ECR Private
2626 run : aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com
27-
27+
2828 - name : Build Docker image
2929 run : |
3030 docker build -t ${{ secrets.ECR_REPOSITORY_BUILDER }}:latest .
3131 docker tag ${{ secrets.ECR_REPOSITORY_BUILDER }}:latest ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com/${{ secrets.ECR_REPOSITORY_BUILDER }}:latest
32-
32+
3333 - name : Push Docker image
3434 run : |
3535 docker push ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com/${{ secrets.ECR_REPOSITORY_BUILDER }}:latest
3636
3737 - name : Update Lambda function
3838 run : |
3939 aws lambda update-function-code \
40- --function-name tech-floripa-certified-builder -dev \
40+ --function-name tech-floripa-certificates-api -dev \
4141 --image-uri ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com/${{ secrets.ECR_REPOSITORY_BUILDER }}:latest
42-
42+
4343 - name : Complete
4444 run : |
4545 echo "Docker image has been pushed to AWS ECR Private and Lambda function has been updated"
You can’t perform that action at this time.
0 commit comments