Skip to content

Commit

Permalink
Test NPM_TOKEN inside container
Browse files Browse the repository at this point in the history
  • Loading branch information
inbeom committed Aug 14, 2019
1 parent 02363cc commit 747d0da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ FROM build AS release
ARG npm_token
ENV NPM_TOKEN=${npm_token}

RUN echo $NPM_TOKEN
RUN echo //registry.npmjs.org/:_authToken=$NPM_TOKEN > .npmrc
RUN cat .npmrc
RUN npm run publish -- --yes

0 comments on commit 747d0da

Please sign in to comment.