To create an Artifact Registry, navigate to the Artifact Registries section of your Hub settings.
This is the location to manage all Artifact Registries for your Apollo Hub.
Select New registry to create an Artifact Registry.
In the Registry URL field, enter the URL of your OCI registry. This should be in the format of registry.domain.com:port
, where port
is the optional port that your registry is accessible on. If this is omitted, then a default of :443
will be assumed.
Display name and description are optional fields that can be used to identify the Artifact Registry to other Apollo users. We recommend entering a descriptive name that will help users understand the purpose of the Artifact Registry.
See Mirrored Artifact Registries for more information on how to use mirrored registries. Likely, you will not need to set this field, except under specific circumstances.
Registry URLs must be unique within Apollo. It is not possible to have two Artifact Registries with the same URL.
Next, select the type of credentials that Apollo will use to access the OCI registry. There are two options:
There are two options for OCI credentials:
Once created, you will be unable to view the entered credentials for the OCI registry again, so ensure they are correctly entered prior to creation.
You should only select the No authentication method if you are deploying a product that has its images in a public OCI registry such as docker.io
or quay.io
.
To use Amazon ECR, you will need to provide the following information from a provisioned AWS IAM user:
Next, you must assign some roles for your newly created Artifact Registry. You must set initial permissions within five minutes of creating the Artifact Registry. We recommended assigning the "Artifact Registry administrator" role to a team that you are a member of so you can make further changes. Any global role assignments from the Permissions tab will be inherited and appear in this step.
Enter a team name into the Add more teams... text box to select a team, then configure which roles they are granted using the dropdown.
We recommend assigning the "Artifact Registry assigner" role to any team responsible for managing Environments, so they are able to add any created Artifact Registry to their Environment.
At this point, you can update certain parts of the Artifact Registry:
Updates will create a new revision version. You can check the version against the version that is displayed in the Environment settings to ensure the changes have been actuated into the Environment and will be usable.