Created
June 5, 2020 18:38
-
-
Save GeoffMahugu/b7f6813327bb1a1cbb560bcf37faaf1c to your computer and use it in GitHub Desktop.
GitHub private repo access
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Onve you settup a private repo, you will need an access token to access the image. | |
To login to GitHub repo, first create a file at and add your github password: | |
``nano ~/TOKEN.txt`` | |
Then run this command, replacing USERNAME with your github username. | |
``$ cat ~/TOKEN.txt | docker login https://docker.pkg.github.com -u USERNAME --password-stdin | |
`` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment