Fix ui docker builds
This commit is contained in:
parent
86f9aa39e7
commit
d0e70a54b0
@ -32,9 +32,8 @@ deployment:
|
|||||||
branch: master
|
branch: master
|
||||||
commands:
|
commands:
|
||||||
- ./bin/docker-login
|
- ./bin/docker-login
|
||||||
- make -C ui publish | sed '/NPM_TOKEN/d'
|
- make -j2 build | sed '/NPM_TOKEN/d'
|
||||||
- make -j2 build
|
- make -j2 push | sed '/NPM_TOKEN/d'
|
||||||
- make -j2 push
|
|
||||||
- ./bin/deploy
|
- ./bin/deploy
|
||||||
|
|
||||||
## Custom notifications
|
## Custom notifications
|
||||||
|
@ -4,7 +4,7 @@ ARG CIRCLE_BUILD_NUM
|
|||||||
ENV NPM_TOKEN ${NPM_TOKEN}
|
ENV NPM_TOKEN ${NPM_TOKEN}
|
||||||
ENV CIRCLE_BUILD_NUM ${CIRCLE_BUILD_NUM}
|
ENV CIRCLE_BUILD_NUM ${CIRCLE_BUILD_NUM}
|
||||||
RUN echo -e "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
|
RUN echo -e "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
|
||||||
RUN NODE_ENV=production make compile
|
|
||||||
RUN make install
|
RUN make install
|
||||||
|
RUN NODE_ENV=production make compile
|
||||||
RUN npm version 0.0.1-${CIRCLE_BUILD_NUM}
|
RUN npm version 0.0.1-${CIRCLE_BUILD_NUM}
|
||||||
RUN npm publish --tag alpha --access public
|
RUN npm publish --tag alpha --access public
|
||||||
|
Loading…
Reference in New Issue
Block a user