Closed Omer-AV-MA closed 11 months ago
Anyone?
That means ${{ secrets.my_token }}
is empty. Did you test with something else like NPM_TOKEN=foo
?
Also if this workflow is triggered for a pull request from a fork, secrets are not passed to the runner which might be why it's empty in your case.
I'd also like to add that it's bad practice to use build arg to pass on sensitive information. Please use secrets instead: https://docs.docker.com/build/ci/github-actions/secrets/
Contributing guidelines
I've found a bug, and:
Description
Hi, i have this in my workflow
DockerFile:
Expected behaviour
yarn install should pass and install packages from private repo e.g github org
Actual behaviour
getting 401 unauthorized using docker build --build-arg command manually works
Repository URL
No response
Workflow run URL
No response
YAML workflow
Workflow logs
No response
BuildKit logs
No response
Additional info
No response