diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-05 09:29:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-05-05 13:54:30 +0200 |
commit | e5c86ba7c2fe5421b0d75943b03282e3f52de270 (patch) | |
tree | e9d25a94ea9bd740551715277019c50b1c43b413 | |
parent | a8738ec5360304926eac8d8a313b2b5cd7743a1e (diff) | |
download | PeerTube-e5c86ba7c2fe5421b0d75943b03282e3f52de270.tar.gz PeerTube-e5c86ba7c2fe5421b0d75943b03282e3f52de270.tar.zst PeerTube-e5c86ba7c2fe5421b0d75943b03282e3f52de270.zip |
Fix nightly docker build
-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" |