Skip to content

Commit 30c37cc

Browse files
committed
debos: Compress final image
Signed-off-by: Loïc Minier <[email protected]>
1 parent 7e13aba commit 30c37cc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/debos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ jobs:
118118
dir="${FILESERVER_DIR}/${id}"
119119
mkdir -vp "${dir}"
120120
# copy output files
121-
cp -v disk-4096.img "${dir}"
122-
cp -v disk-512.img "${dir}"
121+
cp -v disk-4096.img.gz "${dir}"
122+
cp -v disk-512.img.gz "${dir}"
123123
# instruct fileserver to publish this directory
124124
url="${FILESERVER_URL}/${id}/"
125125
curl -X POST -H 'Accept: text/event-stream' "${url}"

debos-recipes/qualcomm-linux-debian-image.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,7 @@ actions:
9595
# enable unit
9696
systemctl enable debos-grow-rootfs
9797
98+
- action: run
99+
postprocess: true
100+
command: gzip -f "${ARTIFACTDIR}/{{ $image }}"
101+

0 commit comments

Comments
 (0)