Skip to content

Commit 72b0b9f

Browse files
committed
Declare NPM registry via command line argument
1 parent 747d0da commit 72b0b9f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Dockerfile

+1-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,4 @@ FROM build AS release
2323
ARG npm_token
2424
ENV NPM_TOKEN=${npm_token}
2525

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

0 commit comments

Comments
 (0)