From f3de760e9f5258d94c0b2b66b54b37ead3902d4c Mon Sep 17 00:00:00 2001
From: David Mehren <git@herrmehren.de>
Date: Mon, 14 Jun 2021 22:58:22 +0200
Subject: [PATCH] Something with bash and quotes

---
 .gitlab-ci.yml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dcfa741..bab2995 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,8 +18,7 @@ build-main:
   script:
     - docker build
       --build-arg BUILDKIT_INLINE_CACHE=1
-      --build-arg LDAP_PLUGIN_URL=$LDAP_PLUGIN_URL
-      --pull
+      --build-arg LDAP_PLUGIN_URL="${LDAP_PLUGIN_URL}"
       --cache-from $CI_REGISTRY_IMAGE:stage-src
       --target src
       -t "$CI_REGISTRY_IMAGE:stage-src"
@@ -37,8 +36,8 @@ build-main:
     - docker push "$CI_REGISTRY_IMAGE:stage-texlive-update-branch-$CI_COMMIT_REF_SLUG"
     - docker build
       --build-arg BUILDKIT_INLINE_CACHE=1
-      --build-arg login_text=$LOGIN_TEXT
-      --build-arg collab_text=$COLLAB_TEXT
+      --build-arg login_text="${LOGIN_TEXT}"
+      --build-arg collab_text="${COLLAB_TEXT}"
       --pull
       --cache-from $CI_REGISTRY_IMAGE
       --target app --squash
-- 
GitLab