Commit 7e815c8d authored by François Agneray's avatar François Agneray
Browse files

Fixed bug gitlab-ci build-coverage

parent c864c773
Pipeline #1605 failed with stages
in 16 minutes and 24 seconds
......@@ -60,6 +60,7 @@ sonar_scanner:
cache:
paths:
- node_modules
- coverage
policy: pull
only:
refs:
......@@ -71,7 +72,7 @@ build-coverage:
script:
- mkdir build-coverage
- echo "FROM nginx" > build-coverage/Dockerfile
- echo "COPY coverage /usr/share/nginx/html" >> build-coverage/Dockerfile
- echo "COPY ../coverage /usr/share/nginx/html" >> build-coverage/Dockerfile
- docker login -u fagneray -p $PORTUS_TOKEN portus.lam.fr
- docker pull $COVERAGE_IMAGE:latest || true
- docker build --cache-from $COVERAGE_IMAGE:latest -t $COVERAGE_IMAGE:latest build-coverage
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment