we are currently experiencing some issues regarding the npm login in our batch script that we use for triggering a docker login/build.
When performing the npm login it needs a username and password and we want to automatically fill these with the env variable GITHUB_USERNAME and GITHUB_PASSWORD.
I have tried a few things now but non of the solutions i found were working.
Reading out the values from the .env file is already working but piping it to the login command not.
Is there a way that we can do this?
Hello Capawesome Team,
we are currently experiencing some issues regarding the npm login in our batch script that we use for triggering a docker login/build.
When performing the npm login it needs a username and password and we want to automatically fill these with the env variable GITHUB_USERNAME and GITHUB_PASSWORD.
I have tried a few things now but non of the solutions i found were working.
Reading out the values from the .env file is already working but piping it to the login command not. Is there a way that we can do this?
Greetings Luca