diff --git a/generate-deploy-stages.sh b/generate-deploy-stages.sh
index c417639412716d26b53de3328c98d3429659f2d3..5626f5b207802fe96006fb9ae274ba2151a383d8 100644
--- a/generate-deploy-stages.sh
+++ b/generate-deploy-stages.sh
@@ -10,8 +10,8 @@ touch deploy.yml
 if [ ! -z "${TAG}" ]; then
   git clone --single-branch --branch ${TAG} https://github.com/MAAP-Project/maap-workspaces.git
   pushd maap-workspaces
-  ls -d base_images/*/* > ${basedir}/images.txt
-  ls -d custom_images/*/* > ${basedir}/images.txt
+  ls -d base_images/*/* >> ${basedir}/images.txt
+  ls -d custom_images/*/* >> ${basedir}/images.txt
   popd
   cat ${basedir}/images.txt