From a9db940ca8187514f49f6c456df760744e503482 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 26 Mar 2020 09:39:12 -0400 Subject: [CI] Replace the kaniko build method with the included gitlab-ci.yml The kaniko build method exposes various failures that are strange and unrelated to the code. We decided to switch back to Docker-in-Docker builds, until upstream has resolved these issues. --- .gitlab-ci.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 208ed4b..a9385ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,3 @@ --- -stages: - - build - -build: - stage: build - image: - name: gcr.io/kaniko-project/executor:debug - entrypoint: [""] - script: - - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - - /kaniko/executor --context ${CI_PROJECT_DIR} --dockerfile Dockerfile --destination ${CI_REGISTRY_IMAGE}:latest - +include: + - 'https://0xacab.org/leap/container-platform/glue/raw/master/.gitlab-ci.yml' -- cgit v1.2.3