diff options
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0305171c7..318f7dfee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -122,6 +122,7 @@ build-nightly: | |||
122 | name: gcr.io/kaniko-project/executor:debug | 122 | name: gcr.io/kaniko-project/executor:debug |
123 | entrypoint: [""] | 123 | entrypoint: [""] |
124 | before_script: | 124 | before_script: |
125 | - mkdir -p /kaniko/.docker | ||
125 | - echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_REGISTRY_AUTH\",\"email\":\"$CI_REGISTRY_EMAIL\"}}}" > /kaniko/.docker/config.json | 126 | - echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_REGISTRY_AUTH\",\"email\":\"$CI_REGISTRY_EMAIL\"}}}" > /kaniko/.docker/config.json |
126 | script: | 127 | script: |
127 | - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster --destination $DOCKER_IMAGE_NAME | 128 | - /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: | |||
173 | - psql -c "create user peertube with password 'peertube';"; fi | 174 | - psql -c "create user peertube with password 'peertube';"; fi |
174 | - NOCLIENT=1 yarn install --pure-lockfile --cache-folder .yarn-cache | 175 | - NOCLIENT=1 yarn install --pure-lockfile --cache-folder .yarn-cache |
175 | script: | 176 | script: |
176 | - npm run ci -- "external-plugins" \ No newline at end of file | 177 | - npm run ci -- "external-plugins" |