Microsoft Azure provides a docker image registry known as Azure Container Registry.
Configuring an Azure Container Registry
Select Azure Container Registry from the Azure marketplace and select create to create a new registry.
Provide the unique registry name that all your repositories (packages) will be stored in.
Make sure you select Enable under the Admin user option. This is what will expose the credentials that are needed by Octopus to connect to the API.
Azure Container Registries can be configured as an external feed in Octopus by navigation to Library ➜ External Feeds and adding an new feed of type Docker
.
Once the service has been provisioned, go to the Container Registry details and load the Access Key blade. The login server indicates the HTTPS url that needs to be supplied into the Octopus Registry feed. In the case above this will be https:\\myoctoregistry-on.azurecr.io
.
With the Admin user toggle enabled, you will be provided with username and password credentials, these will needed these when you create the Octopus Deploy feed. The password can be regenerated at any time so long as you keep your Octopus instance updated with the new credentials.
Adding an Azure Container Registry as an Octopus External Feed
Create a new Octopus Feed (Library ➜ External Feeds) and select the Docker Container Registry
Feed type. With this selected you will need to provide the credentials configured above.
Save and test your registry to ensure that the connection is authorized successfully.
Help us continuously improve
Please let us know if you have any feedback about this page.
Page updated on Sunday, January 1, 2023