What do I need to enter on the Link external registry
dialog in order to be able to include private images hosted in Github registry?
Right now this is only supported for KOTS apps.
-
Navigate to
https://github.com/settings/tokens
and generate a new token.- make sure that
read:packages
permission is checked
- make sure that
-
Once the toke is generated, save the value. There will be no way to retrieve it later.
-
Enter then following
-
Endpoint:
docker.pkg.github.com
- Username: the name of the user that owns the token
- Password: the value of the token created in the previous step
-
Endpoint:
-
Click the
Link Registry
button.
There is a known issue with docker.pkg.github.com
that prevents Replicated server from validating the specified credentials. If username or the token are entered incorrectly, authentication errors will be returned to the client when trying to pull images.