From f5da8b891e136935609896707faed664dfd5b191 Mon Sep 17 00:00:00 2001 From: Kai Kriegel Date: Tue, 6 Oct 2020 13:28:10 +0000 Subject: [PATCH] don`t run default before_script --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0f10cfc..95880a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,6 +68,8 @@ build:docker-master: image: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] + before_script: + - '' script: - mkdir -p /kaniko/.docker - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json @@ -82,6 +84,8 @@ build:docker-releases: image: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] + before_script: + - '' script: - mkdir -p /kaniko/.docker - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json @@ -96,6 +100,8 @@ build:docker-development: image: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] + before_script: + - '' script: - mkdir -p /kaniko/.docker - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json