diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 82414ea18b7f72075b2cf6458fbbddd7917a8c78..60ca493807580926b143bb9e05223e123f684a3c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -95,7 +95,7 @@ build-services-docker:
   script:
     - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
     - services="broker authorizer discovery receiver file-transfer"
-    - >
+    - |
       for service in $services; do
           service_dir=${service//"-"/"_"}
           # read the dependency list if exists