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

Update .gitlab-ci.yml

parent bb4217f5
No related branches found
No related tags found
No related merge requests found
......@@ -51,9 +51,13 @@ docker-for-fast-build:
- echo 'COPY * ./' >> Dockerfile
- echo 'COPY .bowerrc ./' >> Dockerfile
- echo 'COPY .gitmodules ./' >> Dockerfile
- echo 'RUN pwd' >> Dockerfile
- echo 'RUN ls -la' >> Dockerfile
- echo 'RUN npm install' >> Dockerfile
- echo 'RUN npm run postinstall' >> Dockerfile
- echo 'RUN ls -la' >> Dockerfile
- echo 'WORKDIR /build' >> Dockerfile
- echo 'RUN ls -la /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