Private Registries are restricted to organization 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.
Generate Artificatory Cloud credentials
- Go to your JFrog Cloud Platform
- Navigate to User Management and Access Tokens
- Click on Generate Token and configure the options
- Description: Valohai Docker Registry Credentials
- Token Scope: User
- Service: Artifactory
- Expiration Time: Set the expiration time of your choice. Note, when the token expires you’ll have to generate a new token and update the value in Valohai.
Add credentials to Valohai
- Navigate to
Hi,<name>
(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>/<repository>/*
e.g.docker push valohai.jfrog.io/valohai-docker/hello-world:*
ordocker push valohai.jfrog.io/valohai-docker/*
- Choose “Docker (username and password authentication)” registry type and provide the access credentials generated in the first step.
- Save your settings
- Use the full name of the tagged image (e.g.
myregistry.azurecr.io/myrepository/name:tag
) when defining the image in yourvalohai.yaml
.