Skip to content

GITHUB_TOKEN for Github NPM registry doesn't work inside Docker Build #26778

Answered by pikaju
pikaju asked this question in Packages
Discussion options

You must be logged in to vote

After a lot more research I discovered that the GITHUB_TOKEN is not yet capable of reading packages published by another repository, and it might be a permission issue. See: GITHUB_TOKEN does not have access to other private packages · Issue #49 · actions/setup-node · GitHub

It seems the only viable solution for now is to create a personal access token for the workflow instead.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Packages Host your dependencies, libraries, and production-ready code, right from your repository Product Feedback
2 participants