File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -188,14 +188,14 @@ For example: `GITHUB.WEBHOOK_SECRET` --> `GITHUB__WEBHOOK_SECRET`
188188
189189 ```shell
190190 # Note: --target github_lambda is optional as it's the default target
191- docker buildx build --platform=linux/amd64 . -t codiumai/pr-agent:serverless --target github_lambda -f docker/Dockerfile.lambda
191+ docker buildx build --platform=linux/amd64 . -t codiumai/pr-agent:github_lambda --target github_lambda -f docker/Dockerfile.lambda
192192 ```
193193
1941943 . Push image to ECR
195195
196196 ``` shell
197- docker tag codiumai/pr-agent:serverless < AWS_ACCOUNT> .dkr.ecr.< AWS_REGION> .amazonaws.com/codiumai/pr-agent:serverless
198- docker push < AWS_ACCOUNT> .dkr.ecr.< AWS_REGION> .amazonaws.com/codiumai/pr-agent:serverless
197+ docker tag codiumai/pr-agent:github_lambda < AWS_ACCOUNT> .dkr.ecr.< AWS_REGION> .amazonaws.com/codiumai/pr-agent:github_lambda
198+ docker push < AWS_ACCOUNT> .dkr.ecr.< AWS_REGION> .amazonaws.com/codiumai/pr-agent:github_lambda
199199 ```
200200
2012014. Create a lambda function that uses the uploaded image. Set the lambda timeout to be at least 3m.
Original file line number Diff line number Diff line change @@ -98,14 +98,14 @@ For example: `GITLAB.PERSONAL_ACCESS_TOKEN` --> `GITLAB__PERSONAL_ACCESS_TOKEN`
98982. Build a docker image that can be used as a lambda function
9999
100100 ` ` ` shell
101- docker buildx build --platform=linux/amd64 . -t codiumai/pr-agent:serverless --target gitlab_lambda -f docker/Dockerfile.lambda
101+ docker buildx build --platform=linux/amd64 . -t codiumai/pr-agent:gitlab_lambda --target gitlab_lambda -f docker/Dockerfile.lambda
102102 ` ` `
103103
1041043. Push image to ECR
105105
106106 ` ` ` shell
107- docker tag codiumai/pr-agent:serverless <AWS_ACCOUNT>.dkr.ecr.<AWS_REGION>.amazonaws.com/codiumai/pr-agent:serverless
108- docker push <AWS_ACCOUNT>.dkr.ecr.<AWS_REGION>.amazonaws.com/codiumai/pr-agent:serverless
107+ docker tag codiumai/pr-agent:gitlab_lambda <AWS_ACCOUNT>.dkr.ecr.<AWS_REGION>.amazonaws.com/codiumai/pr-agent:gitlab_lambda
108+ docker push <AWS_ACCOUNT>.dkr.ecr.<AWS_REGION>.amazonaws.com/codiumai/pr-agent:gitlab_lambda
109109 ` ` `
110110
1111114. Create a lambda function that uses the uploaded image. Set the lambda timeout to be at least 3m.
You can’t perform that action at this time.
0 commit comments