From d0e70a54b07e438c9871ebc37848da4dbadb21e7 Mon Sep 17 00:00:00 2001 From: Tom Gallacher Date: Thu, 5 Jan 2017 10:38:53 +0000 Subject: [PATCH] Fix ui docker builds --- circle.yml | 5 ++--- ui/Dockerfile.build | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/circle.yml b/circle.yml index 15a08bdd..0e0a1b52 100644 --- a/circle.yml +++ b/circle.yml @@ -32,9 +32,8 @@ deployment: branch: master commands: - ./bin/docker-login - - make -C ui publish | sed '/NPM_TOKEN/d' - - make -j2 build - - make -j2 push + - make -j2 build | sed '/NPM_TOKEN/d' + - make -j2 push | sed '/NPM_TOKEN/d' - ./bin/deploy ## Custom notifications diff --git a/ui/Dockerfile.build b/ui/Dockerfile.build index db4a754e..ae56af50 100644 --- a/ui/Dockerfile.build +++ b/ui/Dockerfile.build @@ -4,7 +4,7 @@ ARG CIRCLE_BUILD_NUM ENV NPM_TOKEN ${NPM_TOKEN} ENV CIRCLE_BUILD_NUM ${CIRCLE_BUILD_NUM} RUN echo -e "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc -RUN NODE_ENV=production make compile RUN make install +RUN NODE_ENV=production make compile RUN npm version 0.0.1-${CIRCLE_BUILD_NUM} RUN npm publish --tag alpha --access public