Commit b1d64e9
committed
fix(functions): forward NPM_AUTH_TOKEN to deploy bundler container
The Docker bundler for `functions deploy` only passes
`NPM_CONFIG_REGISTRY` to the container environment. When `.npmrc`
uses \${NPM_AUTH_TOKEN} for private registry authentication, the
variable is not available inside the container, causing 401 errors.
Forward `NPM_AUTH_TOKEN` from the host environment to the Docker
container, following the same pattern established in PR #3020 for
`NPM_CONFIG_REGISTRY`.
Closes #49271 parent 111bf90 commit b1d64e9
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
0 commit comments