Something with bash and quotes

This commit is contained in:
David Mehren 2021-06-14 22:58:22 +02:00
parent 2ba4f674ac
commit f3de760e9f
No known key found for this signature in database
GPG Key ID: 185982BA4C42B7C3
1 changed files with 3 additions and 4 deletions

View File

@ -18,8 +18,7 @@ build-main:
script: script:
- docker build - docker build
--build-arg BUILDKIT_INLINE_CACHE=1 --build-arg BUILDKIT_INLINE_CACHE=1
--build-arg LDAP_PLUGIN_URL=$LDAP_PLUGIN_URL --build-arg LDAP_PLUGIN_URL="${LDAP_PLUGIN_URL}"
--pull
--cache-from $CI_REGISTRY_IMAGE:stage-src --cache-from $CI_REGISTRY_IMAGE:stage-src
--target src --target src
-t "$CI_REGISTRY_IMAGE:stage-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 push "$CI_REGISTRY_IMAGE:stage-texlive-update-branch-$CI_COMMIT_REF_SLUG"
- docker build - docker build
--build-arg BUILDKIT_INLINE_CACHE=1 --build-arg BUILDKIT_INLINE_CACHE=1
--build-arg login_text=$LOGIN_TEXT --build-arg login_text="${LOGIN_TEXT}"
--build-arg collab_text=$COLLAB_TEXT --build-arg collab_text="${COLLAB_TEXT}"
--pull --pull
--cache-from $CI_REGISTRY_IMAGE --cache-from $CI_REGISTRY_IMAGE
--target app --squash --target app --squash