Loading .gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,8 @@ docker-build: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] stage: build # Run build stage regardless of the status of the test stage when: always before_script: - mkdir -p /kaniko/.docker - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json Loading @@ -37,4 +39,3 @@ docker-build: - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG only: - master needs: [testing] Loading
.gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,8 @@ docker-build: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] stage: build # Run build stage regardless of the status of the test stage when: always before_script: - mkdir -p /kaniko/.docker - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json Loading @@ -37,4 +39,3 @@ docker-build: - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG only: - master needs: [testing]