[gimp/wip/schumaml/crossraods-optimization] gitlab-ci: add XDG_DATA_HOME as a variable



commit 90ee9cdaa1e5be7db4fe5b92b762526d9c6b737a
Author: Michael Schumacher <schumaml gmx de>
Date:   Sat Dec 5 15:29:46 2020 +0100

    gitlab-ci: add XDG_DATA_HOME as a variable

 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d477497f39..6b3413d512 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,6 +37,7 @@ build-image-win64:
   stage: prepare
   variables:
     GIT_STRATEGY: none
+    XDG_DATA_HOME: "/usr/local/lib"
   cache: {}
   image:
     name: gcr.io/kaniko-project/executor:debug
@@ -67,7 +68,7 @@ build-image-win64:
     - echo "RUN echo 'sed -i \"s&${XDG_DATA_HOME}/crossroad/roads/w64/gimp/&&\" \\ " >> Dockerfile
     - echo "${XDG_DATA_HOME}/crossroad/roads/w64/gimp/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache' | \\" >> 
Dockerfile
     - echo "XDG_DATA_HOME=/usr/local/lib crossroad w64 gimp --run='-'" >> Dockerfile
-    - echo "RUN echo 'sed -i \"/.dll\"/s*/*\\\\*g\" 
${XDG_DATA_HOME}/crossroad/roads/w64/gimp/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache' | \\" >> Dockerfile
+    - echo "RUN echo 'sed -i \"/.dll\"/s*/*\\\\*g\" 
${XDG_DATA_HOME}/crossroad/roads/w64/gimp/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache' | \\" >> 
Dockerfile$CROSSROAD_PREFIX/
     - echo "XDG_DATA_HOME=/usr/local/lib crossroad w64 gimp --run='-'" >> Dockerfile
 
     - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination 
$CI_REGISTRY_IMAGE:build-win64-latest --cache=true --cache-ttl=120h


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]