File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 1+
12name : Deploy Lambda Service
23
34on :
@@ -41,13 +42,19 @@ jobs:
4142 echo "image_uri_latest=$IMAGE_TAG_LATEST" >> $GITHUB_OUTPUT
4243 echo "ecr_repository=$ECR_REPOSITORY" >> $GITHUB_OUTPUT
4344
44- - name : Build and push Docker image
45+ - name : Build Docker image
4546 id : build-image-and-push-to-ecr
4647 run : |
47- docker buildx build --platform linux/arm64 -t ${{ vars.LAMBDA_FUNCTION_NAME }} --file Dockerfile.lambda .
48- docker tag ${{ vars.LAMBDA_FUNCTION_NAME }}:latest ${{ steps.set-image-uris.outputs.image_uri_latest }}
48+ docker buildx build --platform linux/arm64 -t ${{ vars.LAMBDA_FUNCTION_NAME }} --file Dockerfile.lambda .
49+ docker tag ${{ vars.LAMBDA_FUNCTION_NAME }}:latest r{{ steps.set-image-uris.outputs.image_uri_latest }}
50+
51+ - name : Push Docker image
52+ id : push-docker-image
53+ run : |
54+ echo "Pushing ${{ steps.set-image-uris.outputs.image_uri_latest }}"
4955 docker push ${{ steps.set-image-uris.outputs.image_uri_latest }}
5056
57+
5158 - name : Update Lambda function
5259 run : |
5360 aws lambda update-function-code \
You can’t perform that action at this time.
0 commit comments