Skip to main content

Deploy your code

Azure Container Apps meets your code wherever it lives: deploy a prebuilt image, build straight from source, or set up continuous deployment from a repository. Pick the path that matches your workflow. Each one creates the same running app with a public URL.

From an existing container image

If your image already lives in a registry — Azure Container Registry, Docker Hub, GitHub Container Registry, or any other — you can deploy it directly from the portal. Choose Container image as the deployment source, point to your image, enable ingress, and create the app. It's the fastest way to get a known-good build running. Deploy your first container app in the portal.

From a code repository

Connect a GitHub repository to set up continuous deployment. Container Apps builds a container from your source and ships a new revision on every push, using GitHub Actions under the hood. You don't need to write the pipeline by hand. Choose this path when you want changes to reach production automatically. Set up continuous deployment from a repo.

From Visual Studio Code

With the Azure Container Apps extension for Visual Studio Code, you can create an environment and deploy your workspace without leaving the editor. Deploy from the command palette, stream logs, and manage revisions from the Azure view. Use this option when your inner loop already lives in VS Code. Deploy with the VS Code extension.

From the command line

Run az containerapp up to go from local source or a Dockerfile to a running app in a single command. The command builds the image, creates the environment, and deploys, inferring sensible defaults as it goes. Use the CLI when you want scriptable, repeatable deployments. Get started with the Azure CLI.