diff --git a/release/docker/package_docker b/release/docker/package_docker index d5109267b..c827a7520 100755 --- a/release/docker/package_docker +++ b/release/docker/package_docker @@ -56,6 +56,6 @@ image_package_name="memgraph-${version}-docker.tar.gz" # Build docker image. docker build -t ${image_name} ${tag_latest} -f ${dockerfile_path} --build-arg release=${package_name}.${extension} . -docker save ${image_name} ${latest_image} > ${image_package_name} +docker save ${image_name} ${latest_image} | gzip > ${image_package_name} rm "${package_name}.${extension}" echo "Built Docker image at '${working_dir}/${image_package_name}'"