1
0
mirror of https://github.com/ko-build/ko.git synced 2025-02-01 19:14:40 +02:00

Add how to use Azure Container Apps (#561)

This commit is contained in:
Kodai Sakabe 2021-12-28 02:27:26 +09:00 committed by GitHub
parent f5762bedf3
commit da244de716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,6 +130,18 @@ aws lambda update-function-code \
* Note: The image must be pushed to [ECR](https://aws.amazon.com/ecr/), based on the AWS provided base image, and use the [`aws-lambda-go`](https://github.com/aws/aws-lambda-go) framework.
See [official docs](https://docs.aws.amazon.com/lambda/latest/dg/go-image.html) for more information.
Or [Azure Container Apps](https://azure.microsoft.com/services/container-apps/):
```
az containerapp update \
--name my-container-app
--resource-group my-resource-group
--image $(ko publish ./cmd/app)
```
* Note: The image must be pushed to [ACR](https://azure.microsoft.com/services/container-registry/) or other registry service.
See [official docs](https://docs.microsoft.com/azure/container-apps/) for more information.
## Configuration
Aside from `KO_DOCKER_REPO`, you can configure `ko`'s behavior using a