From c9388c581abec720149d56545ea6dd105b78a200 Mon Sep 17 00:00:00 2001
From: Anupam Basak <anupam.basak27@gmail.com>
Date: Tue, 21 Mar 2023 20:14:59 +0530
Subject: [PATCH] Fix image name of custom base image

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 11d1a6b..f220d62 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,7 +32,7 @@ build-zynthbox-image-armhf:
     - wget -c --trust-server-names 'https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2023-02-22/2023-02-21-raspios-bullseye-armhf-lite.img.xz' -P ./image
     - ../../CustomPiOS/src/update-custompios-paths
     - bash -x ./build_dist
-    - prefix=$(ls workspace/*.img | sed "s|workspace/||;s|raspbian-bullseye-lite.img||")
+    - prefix=$(ls workspace/*.img | sed "s|workspace/||;s|raspios-bullseye-armhf-lite.img||")
     - mv "workspace/*.img" "/$prefix_$(date +"%d-%m-%Y")-realtimepi-bullseye-armhf-lite.img"
     - cd /
     - rm -rf CustomPiOS RealtimePi
-- 
GitLab