Azure Docker registry

Use the Azure Docker Registry for pipeline integrations

Configure Azure Docker registry for pipeline integrations.

Configure Azure portal

  1. Log in to the Azure Portal.
  2. Click Settings and from the sidebar, select Access Keys.

Docker credentials for the Azure registry

Docker credentials for the Azure registry
  1. For Admin user, click Enable.
  2. Change the username (optional), and make sure that you note down one of the passwords shown on the screen.

Configure Azure Docker registry settings in Codefresh

  1. In the Codefresh UI, on the toolbar, click the Settings icon, and then from the sidebar, select Pipeline Integrations.
  2. Select Docker Registries and then click Configure.
  3. From the Add Registry Provider dropdown, select Other Registries.
  4. Define the following:
    • Registry Name: Unique name for this configuration.
    • Username: Your Azure Registry username.
    • Password: Your Azure Registry password.
    • Domain: <registry_name>

Adding the Azure Docker registry

Adding the Azure Docker registry
  1. To verify the connection details, click Test connection.
  2. To apply the changes, click Save.

Using the Azure Registry

You can now use the Azure Registry in your CI pipelines, either via the UI or through the YAML push step (recommended).

It is also possible to use the registry from the command line with:

docker login <registry_name> -u <user_name> -p<password>

You can also inspect the pushed images either using Azure portal or with Azure CLI

az acr repository list --name <registry_name> --output table

Docker registries for pipeline integrations
Working with Docker Registries
Building and pushing an image