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

Fixed bug ci build coverage

parent c2702ff2
Pipeline #1604 failed with stages
in 18 minutes and 49 seconds
......@@ -69,11 +69,12 @@ build-coverage:
image: docker:stable
stage: build-coverage
- echo "FROM nginx" > var/Dockerfile
- echo "COPY coverage /usr/share/nginx/html" >> var/Dockerfile
- mkdir build-coverage
- echo "FROM nginx" > build-coverage/Dockerfile
- echo "COPY coverage /usr/share/nginx/html" >> build-coverage/Dockerfile
- docker login -u fagneray -p $PORTUS_TOKEN
- docker pull $COVERAGE_IMAGE:latest || true
- docker build --cache-from $COVERAGE_IMAGE:latest -t $COVERAGE_IMAGE:latest var
- docker build --cache-from $COVERAGE_IMAGE:latest -t $COVERAGE_IMAGE:latest build-coverage
- docker push $COVERAGE_IMAGE:latest
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