From d6af5eddf177b5978291d79da441e27a13de05da Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Fri, 24 May 2024 22:20:30 +0700 Subject: [PATCH] chore: compress katsu image as zst before uploading artifact, run deploy job on our ARM builder --- .github/workflows/build-katsu.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-katsu.yml b/.github/workflows/build-katsu.yml index 9a835118..6bb79304 100644 --- a/.github/workflows/build-katsu.yml +++ b/.github/workflows/build-katsu.yml @@ -107,13 +107,16 @@ jobs: chcon system_u:object_r:install_exec_t:s0 "$(which katsu)" pushd katsu KATSU_LOG=trace katsu -v --output=disk-image "modules/${{ matrix.variant }}-${{ matrix.arch }}.yaml" + mv katsu-work/image/katsu.img katsu-work/image/${{ env.artifact }}.img + # compress image as zst, output as .img.zst + zstd -T0 -19 katsu-work/image/${{ env.artifact }}.img -o katsu-work/image/${{ env.artifact }}.img.zst popd - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: ${{ env.artifact }}-image - path: katsu/katsu-work/image/*.img + path: katsu/katsu-work/image/*.img.zst live-iso: strategy: