diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cd5a6b30f70447f070e64f2b8193daa07da0127f..04e689fc8ecd4a7326c4caad0cdc08f41ced729d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,6 +30,7 @@ stages:
         DEBOS_OPTIONS="-t base_rootfs:${BASE}"
       fi
     - "debos ${DEBOS_OPTIONS} -c $(nproc) -t architecture:${ARCHITECTURE} rootfs.yaml | sed 's,\r\r,\r,g'"
+    - gzip vmlinuz*
     - 'echo IMAGE_JOB_ID: \"${CI_JOB_ID}\" | tee -a image-build-job.yaml'
     - 'echo ARCHITECTURE: \"${ARCHITECTURE}\" | tee -a image-build-job.yaml'
     - 'echo VMLINUZ: vmlinuz* | tee -a image-build-job.yaml'
diff --git a/testjob.jinja2 b/testjob.jinja2
index 77c6bde0fa1e39ba419981509d123177bebe7ef3..b9f8eb96094c27690e75b4b82946d5a0fda313cc 100644
--- a/testjob.jinja2
+++ b/testjob.jinja2
@@ -20,6 +20,7 @@ actions:
       kernel:
         url: "{{image_artifacts}}/{{env['VMLINUZ']}}"
         type: image
+        compression: gz
         headers:
            JOB-TOKEN: {{ '{{job.CI_JOB_TOKEN}}' }}
 {%- if env['DTB'] is defined %}