You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I have verified it's available, even in a new terminal instance
echo$NPM_TOKEN# works
So I tried to follow the docs by adding it as a secret:
cu secret set NPM_TOKEN "env://NPM_TOKEN"
And I've verified that something was added to the config:
> cu config show
Base Image: node:22
Workdir: /workdir
Setup Commands: (none)
Install Commands: (none)
Environment Variables: (none)
Secrets:
1. NPM_TOKEN=env://NPM_TOKEN
But when I ask AI to do something that needs that token, like update a package, it creates an environment, then fails saying NPM_TOKEN cannot be found (for context, it's needed because we use a custom NPM registry, which requires npmAuthToken: ${NPM_TOKEN} in .yarnrc.yml, which works fine locally). I have also verified that particular env has the same config as above.
What am I doing wrong?
Version
container-use version 0.4.2
commit: 89ebe7765ec067a07c51de104822056eb217c1b9
built: 2025-08-19T22:23:38Z
Activity
fix: resolve env:// secret references from host environment
fix: resolve env:// secret references from host environment