Skip to content

Commit

Permalink
chore: compress katsu image as zst before uploading artifact, run dep…
Browse files Browse the repository at this point in the history
…loy job on our ARM builder
  • Loading branch information
korewaChino committed May 24, 2024
1 parent 43a8b11 commit d6af5ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-katsu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d6af5ed

Please sign in to comment.