-
I have a Dockerfile which is supposed to pull a private NPM package from the GitHub NPM package registry. For authentication, I pass the token as a build argument to
What can I do? Does the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
After a lot more research I discovered that the It seems the only viable solution for now is to create a personal access token for the workflow instead. |
Beta Was this translation helpful? Give feedback.
-
You can access packages by allowing other repository directly on the package settings. |
Beta Was this translation helpful? Give feedback.
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 · GitHubIt seems the only viable solution for now is to create a personal access token for the workflow instead.