Create a Container Registry
On the navigation bar, choose the project where you want to create a registry.
On the project sidebar menu, choose Packages.
On the Packages page, click New repository.
In the New Package Repository window, specify repository settings:
Type: choose Container Registry.
Name and Description: specify the registry name (it must be a unique identifier) and description.
Access: choose Public if you want unauthenticated users to be able to read from the repository. Otherwise, choose Private. Learn more
Immutable tag names: If selected, users are not allowed to push images with the same tag. This means that the tag becomes a unique image identifier. The most popular usage of tag immutability is image versioning: it is not possible to publish an image with the same version twice. This is exactly how versioning is organized, for example, on Docker Hub:
After you create the registry, click the Get Started button to see the command-line snippets that will help you get started: connect to the registry, publish, and get images. Here you can also Generate personal token for accessing the registry.
To copy the repository URL, in the top right corner click and select Copy URL. For example, a URL might look like this: