Overview
Create an artifact registry
An Artifact Registry is a central location for storing and managing software artifacts, such as container images or helm charts used throughout the software development lifecycle. To create one, follow these steps:
- In your project, select Artifact Registries, and then select New Artifact Registry
- Select a registry type.
- Enter a Registry Name and optional Description and Labels.
tip
This registry name must start with a letter and can only contain lowercase alphanumerics,
_
,.
and-
- Select Create Registry.
Create an upstream proxy
An Upstream Proxy for an Artifact Registry is a proxy configuration that allows the registry to fetch artifacts from another external or remote registry. When a user requests an artifact that isn't available in the local registry, the registry directs the request to a configured upstream proxy. To create one, follow these steps:
-
In your project, select Artifact Registries.
-
Select the dropdown next to New Artifact Registry, and then select Upstream Proxy.
-
Select a registry type.
-
Enter the Upstream Proxy Key. This is the identifier or name for the proxy within Gitness and is chosen by you.
tipThis proxy key must start with a letter and can only contain lowercase alphanumerics,
_
,.
and-
-
Depending on the registry, fill out any other required settings.
- Docker
- Helm
- Enter the proxy Source. Either Docker Hub or a Custom source.
- If it's a custom source, enter the Docker Remote Registry URL.
Enter the Helm Remote Registry URL.
-
Choose your Authentication method.
-
Select Create Upstream Proxy.
Set an upstream proxy
After creating an upstream proxy, you can set it in your local artifact registry. To do so, follow these steps:
- In your registry, select Configuration.
- Open the Advanced (Optional) dropdown menu.
- Select Configure Upstream.
- Under Available upstream proxies, you will see a list of available upstream proxies. Select as many as you would like.
- Under Selected proxies, you will see an ordered list of selected proxies for this registry. When the registry receives a request, the proxies will be queried in order from top to bottom.
Registry configuration
To change your registry settings, go to the registry and select Configuration."
Here you can:
- Change your registry Description.
- Add a label under Labels.
- Set an Upstream Proxy under Advanced settings.
Delete a registry
- In Artifact Registries, select the three dots on the right of the registry you want to delete.
- Select Delete.
OR
- In your registry, select the three dots on the top right next to Setup Client.
- Select Delete.