Build and Publish Your PowerShell Modules to Azure Container Registry using Azure DevOps
In the latest PowerShell community call, there was a new interesting feature demoed by Sydney Smith, the Product Manager of PowerShell.
Version 1.1.0-preview1 from the Microsoft.PowerShell.PSResourceGet
provides the ability to install and publish modules through Azure Container Registry (also known as ACR).
While most of you might be familiar with ACR in the “Docker” or Azure Bicep world, it’s interesting to see the investment made by the PowerShell team to include support for ACR.
Having ACR now added to the caliber, it’s nice for enterprises to have another option available to publish their precious modules to a private repository.
Let’s dive into how you can build and publish your PowerShell modules to ACR. Before you get your hands going, make sure the following prerequisites are in-place
Prerequisites
To follow along, you are going to need the following prerequisites in-place: