From 67fd7f36576899f0dba024b07bc679b266b5bebe Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Mon, 14 Aug 2023 22:39:28 -0500 Subject: [PATCH] ci: compress sdcard.img Signed-off-by: Robert Nelson --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5d6948a..789aa86 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,10 +26,11 @@ build: - ./05_generate_payload.bin.sh - ./06_generate_debian_console_root.sh - ./07_create_sdcard_img.sh - - tree -s ./deploy/ - - cp ./deploy/images/sdcard.img ./ + - xz -vT8 deploy/images/sdcard.img + - tree -s deploy/ + - cp deploy/images/sdcard.img.xz ./ artifacts: expire_in: 14 days name: "$CI_PROJECT_NAME-$CI_JOB_ID" paths: - - "sdcard.img" + - "sdcard.img.xz"