The GitHub registry option is only available in Portainer Business Edition.
From the menu select Registries then click Add registry and select GitHub as the registry provider.
Complete the form, using the table below as a guide.
Enter the name you'd like to use in Portainer for your registry.
Enter the username you use to log into your GitHub registry.
Personal Access Token
Enter the personal access token (classic) that corresponds to the username above. Your personal access token (classic) will need the delete:packages, repo, and write:packages scopes assigned.
GitHub does not currently support the use of fine-grained tokens for registry access.
Use organisation registry
Toggle this on if your registry is part of a Github organization.