Skip to content
Snippets Groups Projects
Commit d294b545 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed node cache

parent 2f42b727
No related branches found
No related tags found
1 merge request!5Resolve "Make Proxy Use Autodevops"
......@@ -51,7 +51,7 @@ build:
fi
# Build the dependencies
- docker pull $CI_APPLICATION_REPOSITORY:node || true
- docker run --rm --name metager-proxy-npm-install --tag $CI_APPLICATION_REPOSITORY:node -v "$PWD":/usr/src/app -w /usr/src/app node:8 bash -c "npm install && chmod -R go+w node_modules && npm run watch"
- docker run --rm --name metager-proxy-npm-install --tag $CI_APPLICATION_REPOSITORY:node --cache-from $CI_APPLICATION_REPOSITORY:node -v "$PWD":/usr/src/app -w /usr/src/app node:8 bash -c "npm install && chmod -R go+w node_modules && npm run watch"
- docker push $CI_APPLICATION_REPOSITORY:node
- docker run --rm -v $(pwd):/app composer/composer:latest install
- docker pull $CI_APPLICATION_REPOSITORY:latest || true
......
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