-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication to GHCR is now possible via GITHUB_TOKEN #13037
Comments
/cc @crazy-max ptal |
@MakisH Yes this part is "outdated", we should use the ephemeral @thaJeztah Do I open a PR to update documentation? |
@crazy-max if you know what needs updating, yes, feel free to open a PR to update https://docs.docker.com/ci-cd/github-actions/ |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. /lifecycle locked |
File: ci-cd/github-actions.md
In this documentation page, the user is instructed to create a Personal Access Token
password: ${{ secrets.GHCR_TOKEN }}
. I was confused on how to do this in the context of an organization, only to find out that there is actually an easier way now: just usingGITHUB_TOKEN
: https://docs.github.com/en/packages/working-with-a-github-packages-registry/migrating-to-the-container-registry-from-the-docker-registry#authenticating-to-the-container-registryThe fix here would be rather straight-forward (replace
GHCR_TOKEN
withGITHUB_TOKEN
, but I am not sure if this would have any side-effects in other pages.I hope I am not just more confused through this process.
The text was updated successfully, but these errors were encountered: