Skip to content

Commit

Permalink
set scoped registry and run npm config fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yousif-bugsnag committed Jan 12, 2024
1 parent 3cc1bf5 commit e886ca5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dockerfiles/Dockerfile.react-native-android-builder
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ WORKDIR /app
RUN rm -f ~/.npmrc
ARG REG_BASIC_CREDENTIAL
ARG REG_NPM_EMAIL
RUN echo "//${REGISTRY_URL}:_auth=$REG_BASIC_CREDENTIAL" >> ~/.npmrc
RUN echo "@bugsnag:registry=$REGISTRY_URL" >> ~/.npmrc
RUN echo "_auth=$REG_BASIC_CREDENTIAL" >> ~/.npmrc
RUN echo "email=$REG_NPM_EMAIL" >> ~/.npmrc
RUN echo "always-auth=true" >> ~/.npmrc
RUN npm config fix

# gradle / artifactory auth
ARG MAVEN_REPO_URL
Expand Down

0 comments on commit e886ca5

Please sign in to comment.