CmdID / az / az containerapp
az containerapp up
Create or update a container app as well as any associated resources (ACR, resource group, container apps environment, GitHub Actions, etc.) Azure CLI reference
14 options Its page in the Azure CLI reference
Options
--branch, -bThe branch of the Github repo.--browseOpen the app in a web browser after creation and deployment, if possible.--context-pathPath in the repo from which to run the docker build.--image, -iContainer image, e.g. publisher/image-name:tag.--logs-workspace-idWorkspace ID of the Log Analytics workspace to send diagnostics logs to.--logs-workspace-keyLog Analytics workspace key to configure your Log Analytics workspace.--repoCreate an app via Github Actions.--resource-group-name, --registry-server, --managed-env, --location, --name--service-principal-client-id, --sp-cidThe service principal client ID.--service-principal-client-secret, --sp-secThe service principal client secret.--service-principal-tenant-id, --sp-tidThe service principal tenant ID.--sourceLocal directory path containing the application source and Dockerfile for building the container image.--tokenA Personal Access Token with write access to the specified repository.--workload-profile-name, -wThe friendly name for the workload profile