I am trying to use npmAuthenticate task in azure pipeline which is running script in custom docker container
container:
image: android_builder:37878
endpoint: sc-acr
steps:
- task: npmAuthenticate@0
inputs:
workingFile: '.npmrc'
- script: |
npm i
The azure private registry is in my organisation, but npm install is failing because of auth
I haven't found a example of using this task in docker container in documentation, so not sure if this works in this way