Skip to content
Snippets Groups Projects
Commit a8b228ad authored by Millicent Billette's avatar Millicent Billette
Browse files

Update .gitlab-ci.yml

parent d2f40c56
No related branches found
No related tags found
No related merge requests found
......@@ -44,11 +44,13 @@ docker-for-fast-build:
- docker:dind
script:
- echo 'FROM node:5' > Dockerfile
- echo 'RUN pwd' >> Dockerfile
- echo 'COPY * ./' >> Dockerfile
- echo 'COPY .bowerrc ./' >> Dockerfile
- echo 'COPY .gitmodules ./' >> Dockerfile
- echo 'RUN npm install' >> Dockerfile
- echo 'RUN npm run postinstall' >> Dockerfile
- echo 'RUN mv . ../cache' >> Dockerfile
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment