Azure Developer CLI: From Dev to Prod with Azure DevOps Pipelines
Aug 13, 2025PuiChee (PC) Chan

Summary
Introduced a multi-stage Azure DevOps YAML pipeline for implementing a 'build once, deploy everywhere' pattern using the Azure Developer CLI (azd). This includes stages for building and packaging, deploying to development, and promoting to production. The post details the use of pipeline artifacts for storing and retrieving build packages across jobs, replacing older file backup methods. It provides specific YAML snippets for installing azd, configuring authentication, packaging the application, provisioning infrastructure, and deploying to different environments. The post also covers setup steps for users, including project initialization, environment configuration, and pipeline setup via `azd pipeline config`.
More from the Azure DevOps Pipelines for Dev-to-Prod Promotion trail
- Azure Developer CLI: From Dev to Prod with One Click
- February Patches for Azure DevOps Server
- Revolutionizing Requirement Gathering: Azure DevOps Meets Azure OpenAI using Semantic kernel
- Deploy a Java application to Azure App Service using GitHub Actions
- Things to consider when running visual tests in CI/CD pipelines: Getting Started (Part 1)