Commit 7c17ba81 authored by Kevin Daudt's avatar Kevin Daudt

Merge branch 'pigz' into 'master'

use pigz for compression/decompression

See merge request !7
parents ddcc5d46 059820c9
Pipeline #4817 passed with stage
in 35 seconds
......@@ -16,7 +16,7 @@ stages:
after_script:
- mkdir -p docker-images
- >
docker image save $CI_PROJECT_NAME:latest-$ARCH | gzip - >
docker image save $CI_PROJECT_NAME:latest-$ARCH | pigz >
docker-images/${CI_PROJECT_NAME}_latest-${ARCH}.tar.gz
artifacts:
paths:
......@@ -101,7 +101,7 @@ build-armv7:
- tags
before_script:
- *docker-login
- gunzip -c docker-images/${CI_PROJECT_NAME}_latest-${ARCH}.tar.gz | docker image load
- unpigz -c docker-images/${CI_PROJECT_NAME}_latest-${ARCH}.tar.gz | docker image load
script:
- >
docker-push-image
......@@ -192,7 +192,7 @@ create-manifest:
- ci-docker-image
before_script:
- *docker-login
- for image in docker-images/*.tar.gz; do gunzip -c "$image" | docker image load; done
- for image in docker-images/*.tar.gz; do unpigz -c "$image" | docker image load; done
script:
- >
docker-push-manifest $DOCKER_NAMESPACE/$CI_PROJECT_NAME: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