Skip to content

Commit

Permalink
add registry_url arg and logging
Browse files Browse the repository at this point in the history
  • Loading branch information
yousif-bugsnag committed Jan 12, 2024
1 parent 729057f commit 920b22b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dockerfiles/Dockerfile.react-native-android-builder
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@ WORKDIR /app
RUN rm -f ~/.npmrc
ARG REG_BASIC_CREDENTIAL
ARG REG_NPM_EMAIL
ARG REGISTRY_URL
RUN echo $$REGISTRY_URL
RUN echo $REG_BASIC_CREDENTIAL
RUN echo "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 cat ~/.npmrc
RUN npm config fix
RUN cat ~/.npmrc

# gradle / artifactory auth
ARG MAVEN_REPO_URL
Expand Down

0 comments on commit 920b22b

Please sign in to comment.