Microsoft Azure

How to use Codefresh with Azure

Codefresh has native support for Azure in the following areas:

Using Azure Git repositories

Codefresh can easily checkout code from Azure Git repositories:

Azure Git integration

Azure Git integration

For more details see the documentation page. Once your repository is connected you can use the native clone step as well as Git triggers like all other git providers.

Using Azure Docker registries

Azure Docker registries are fully compliant with the Docker registry API that Codefresh follows. You can connect an Azure Registry like any other Docker registry.

Adding the Azure Docker registry

Adding the Azure Docker registry

Once the registry is added you can the standard push step step in pipelines. See also the documentation page for working with Docker registries.

Deploying to Azure Kubernetes

Codefresh has native support for connecting an Azure cluster in the cluster configuration screen.

Connecting an Azure cluster

Connecting an Azure cluster

Once the cluster is connected you can use any of the available deployment options for Kubernetes clusters. You also get access to all other Kubernetes dashboards such as the cluster dashboard or the environment dashboard .

Azure Single Sign-on

You can use Azure Active Directory as an SSO mechanism in Codefresh.

Azure SSO integration

Azure SSO integration

Once configuration is complete all Codefresh users can login using their Azure credentials instead of personal accounts.

Traditional Azure deployments

For any other Azure deployment you can use the Azure CLI from a Docker image in a freestyle step


    title: Creating a VM
      - az vm create --resource-group TutorialResources --name TutorialVM1 --image UbuntuLTS --generate-ssh-keys     

For authentication see the Microsoft documentation page