Fix nightly docker build
authorChocobozzz <me@florianbigard.com>
Tue, 5 May 2020 07:29:36 +0000 (09:29 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 5 May 2020 11:54:30 +0000 (13:54 +0200)
.gitlab-ci.yml

index 0305171c7992525cbb36a126824cbde68436c9c8..318f7dfee58303ab15d0b354134a1725ccd5d348 100644 (file)
@@ -122,6 +122,7 @@ build-nightly:
     name: gcr.io/kaniko-project/executor:debug
     entrypoint: [""]
   before_script:
+    - mkdir -p /kaniko/.docker
     - echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_REGISTRY_AUTH\",\"email\":\"$CI_REGISTRY_EMAIL\"}}}" > /kaniko/.docker/config.json
   script:
     - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster --destination $DOCKER_IMAGE_NAME
@@ -173,4 +174,4 @@ test-external-plugins:
     - psql -c "create user peertube with password 'peertube';"; fi
     - NOCLIENT=1 yarn install --pure-lockfile --cache-folder .yarn-cache
   script:
-    - npm run ci -- "external-plugins"
\ No newline at end of file
+    - npm run ci -- "external-plugins"