diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 96316b835bbad1690c6b15d02a13b64e6e40fe11..50260702a01b3d40967b4211343bacc4164d4233 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,7 +38,7 @@ build-zynthbox-image-armhf:
     - echo "Image Size -> $(du -h ./workspace/$image_name)"
     
     # Compress image
-    - xz -zv --threads=$(( $(nproc) > 8 ? 8 : $(nproc) )) --memory=90% ./workspace/$image_name
+    - xz -zv --threads=8 --memory=90% ./workspace/$image_name
 
 publish-zynthbox-image-armhf:
   tags: