[gimp/wip/schumaml/tune-prepare-stage: 43/55] build: CI base jobs should use before_script:, not script:



commit 616f0f8415ab0e5b8d027d93634a2e5151d81626
Author: Michael Schumacher <schumaml gmx de>
Date:   Sat May 30 22:59:38 2020 +0200

    build: CI base jobs should use before_script:, not script:

 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e2ed4d7f85..ba4f627afc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -44,7 +44,7 @@ build-image:
   image:
     name: gcr.io/kaniko-project/executor:debug
     entrypoint: [""]
-  script:
+  before_script:
     - mkdir -p /kaniko/.docker
     - echo 
"{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" 
/kaniko/.docker/config.json
     - echo "FROM debian:testing" > Dockerfile
@@ -197,7 +197,7 @@ gimp-debian/testing-clang:
     paths:
     - .cache/crossroad/
     - apt-cache
-  script:
+  before_script:
     - echo "mkdir _deps && cd _deps" > crossroad_deps_build.sh
     - echo "git clone --depth 1 https://gitlab.gnome.org/GNOME/babl.git"; >> crossroad_deps_build.sh
     - echo "cd babl" >> crossroad_deps_build.sh


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