Azure Developer CLI v1.20.0 introduces layered infrastructure and separated container operations to enable 'build once, deploy everywhere' patterns for Azure Container Apps. The new features include azd publish for building and pushing containers, azd deploy --from-package for deploying specific versions without rebuilding, and sequential infrastructure layers with automatic dependency management. A Flask application example demonstrates deploying the same container across dev and prod environments using a shared Azure Container Registry, with proper security controls and environment-specific configurations through GitHub Actions workflows.
Table of contents
Build once, deploy everywhere Copy linkThe sample application Copy linkTry it out Copy linkHow the GitHub Actions workflow works Copy linkWrapping up Copy linkSort: