Skip to content

Commit 4dfd209

Browse files
committed
fix: correct Lambda function name in workflow and clean up whitespace
1 parent 17691e4 commit 4dfd209

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/workflow_build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)