Azure Function App can now be deployed into Azure Container Apps managed environment. This code snippet shows you how to deploy an Azure Function App created with .NET 8 (dotnet-isolated as runtime) into a managed environment of Azure Container Apps. The container source image is from GitHub (ghcr.io). You can also use any other container registry.
This Bicep template creates the following resources:
Blob Storage account
Azure Log Analytics workspace
Azure Application Insights
Azure Container Apps managed environment
Azure Function App
You need to provide a container registry user name and password if you are using private registry. This template uses GitHub Packages.