JFrog Artifactory
Configure Valohai to pull private images from JFrog Artifactory.
Private registries are restricted to organization projects. Personal projects don't have access to private repositories.
Generate an access token
Log in to your JFrog Cloud Platform
Navigate to User Management → Access Tokens
Click Generate Token
Configure the token:
Description: Valohai Docker Registry Credentials
Token Scope: User
Service: Artifactory
Expiration Time: Set according to your security policy
Save the token
When the token expires, you'll need to generate a new one and update it in Valohai.
Add credentials to Valohai
Navigate to
Hi, <n>(top-right menu) →Manage <organization>Go to Registries under organization controls
Click Add a new entry
Configure:
Match pattern:
<domain>/<repository>/*Example:
mycompany.jfrog.io/docker-images/*Matches all images in the specified repository
Registry type: Docker (username and password authentication)
Username: Your JFrog username
Password: The access token you generated
Save
Use the private image
Reference your JFrog image in valohai.yaml:
- step:
name: train
image: mycompany.jfrog.io/docker-images/ml-training:v1.0
command:
- python train.pyValohai handles authentication automatically.
Last updated
Was this helpful?
