termoshtt / ocipkg

An OCI registry client for Rust desiged to use distribute static library as a "container"
Apache License 2.0
48 stars 8 forks source link

Error: Authorization failed: https://ghcr.io/token #115

Open sjackman opened 5 months ago

sjackman commented 5 months ago

I encountered this error Error: Authorization failed: https://ghcr.io/token. After some troubleshooting, I discovered that the credentials stored in ~/.docker/config.json were stale. I fixed the error by removing the file ~/.docker/config.json. Running docker login ghcr.io would likely also fix it. Perhaps this information could be added to the top-level README.md to a section Configuration Files or Authentication section?