Remove requirement to login after move to GHCR.io

This commit is contained in:
Lukasz Raczylo 2020-12-28 14:50:41 +00:00
parent fc81ef0b64
commit 169952b0c9
No known key found for this signature in database
GPG Key ID: 4C68D09621D47E6B

View File

@ -30,11 +30,9 @@ Yes, it means you can run them on regular servers and **Raspberry Pi 4** and abo
### Github authentication
You need to authenticate with github ([see this thread](https://github.community/t/docker-pull-from-public-github-package-registry-fail-with-no-basic-auth-credentials-error/16358/87)) to pull even the publicly available images. To do so you need to create [Personal Access Token](https://github.com/settings/tokens/new) with `read:packages` scope and use it to authenticate your docker client with the Github Docker Registry.
~~You may need to authenticate with github ([see this thread](https://github.community/t/docker-pull-from-public-github-package-registry-fail-with-no-basic-auth-credentials-error/16358/87)) to pull even the publicly available images. To do so you need to create [Personal Access Token](https://github.com/settings/tokens/new) with `read:packages` scope and use it to authenticate your docker client with the Github Docker Registry.~~
```
docker login -u $GITHUB_USERNAME -p $GITHUB_TOKEN docker.pkg.github.com
```
Update: After move to GHCR.io there's no need authenticate and you should be able to pull images without any additional magic.
### Docker configuration