Private Registries are restricted to organisation projects
Private Docker registries are available only to projects that are owned by an organization or team. Personal projects don’t have access to private repositories.
Create a service principal on Azure
Create and use service principal credentials
Add credentials to Valohai
- Navigate to Hi, (the top right menu) >
Manage <organization>
- Go to Registries under the organization controls
- Add a new entry
- Insert the match pattern in the format of
<domain>/<owner-and-or-repository>/*
e.g.myregistry.azurecr.io/*
ormyregistry.azurecr.io/myrepository/*
- Choose your registry type and provide the access credentials generated in the first step
- Use the full name of the tagged image (e.g.
myregistry.azurecr.io/myrepository/name:tag
) when defining the image in yourvalohai.yaml
.