A Container Registry is where container artifacts and images are stored. It can be hosted either in the cloud or within an LDC. BuildPiper provides out-of-the-box support for major container registries.
The supported container registries are defined below. Select the relevant registry provider and provide the required configuration details based on the registry type.
Registry Configuration Note
The source document provides detailed configuration fields for Microsoft Azure Container Registry, Nexus, Alibaba ACR Registry, GitHub Container Registry, Google Artifact Registry, JFrog, and Docker Hub.
For the Google Artifact Registry (GAR), which has replaced the older Google Container Registry (GCR), the configuration requires your GCP Project ID and a Service Account key. Here is the configuration table:
Field
Configuration Guide
Registry Provider
Select the Google Container Registry tile, which typically handles both GCR and GAR.
Give a name to the Registry
Create a unique name like GCP_Artifact_Prod. No spaces allowed.
Registry URL
Enter your regional GAR endpoint, such as https://us-central1-docker.pkg.dev.
Username
Use the literal string _json_key for the username when using a service account.
Password
Leave this blank or enter a placeholder. Actual authentication happens via the JSON key below.
Project Name
Enter your GCP Project ID, such as my-cloud-project-123.
Enter JSON key
Paste the entire content of your downloaded Service Account JSON key file.
For configuring JFrog Artifactory as your container registry, the setup requires specific URL formats depending on whether you are using a local, remote, or virtual repository.
Field
Configuration Guide
Registry Provider
Select the JFrog tile to enable compatibility with Artifactory’s Docker V2 API.
Give a name to the Registry
Enter a descriptive name like JFrog_Docker_Main. Ensure there are no spaces.
Registry URL
Enter the repository-specific URL, such as https://my-company.jfrog.io/artifactory/api/docker/my-repo.
Username
Use your JFrog account username or a dedicated Service Account name.
Password
Provide the user password or, preferably, an Identity Token or API Key generated in JFrog.