From 582c538d9eaa375d702f0b2bc0a1b31c2a74e9bf Mon Sep 17 00:00:00 2001 From: George Sedov <george.sedov@desy.de> Date: Fri, 21 Jan 2022 16:24:11 +0100 Subject: [PATCH] remove stage from image build --- deploy/build_env/services-linux/gitlab-ci-build-docker.yml | 1 - deploy/build_env/services-windows/gitlab-ci-build-docker.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/deploy/build_env/services-linux/gitlab-ci-build-docker.yml b/deploy/build_env/services-linux/gitlab-ci-build-docker.yml index 70c89f209..a8857acd5 100644 --- a/deploy/build_env/services-linux/gitlab-ci-build-docker.yml +++ b/deploy/build_env/services-linux/gitlab-ci-build-docker.yml @@ -2,7 +2,6 @@ docker-create-asapo-services-linux-build-env: image: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] - stage: .pre script: - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - /kaniko/executor --cache=false --context $CI_PROJECT_DIR/deploy/build_env/services-linux --dockerfile $CI_PROJECT_DIR/deploy/build_env/services-linux/Dockerfile --destination $CI_REGISTRY_IMAGE/asapo-services-linux-build-env:${CI_COMMIT_REF_SLUG} --destination $CI_REGISTRY_IMAGE/asapo-services-linux-build-env:latest diff --git a/deploy/build_env/services-windows/gitlab-ci-build-docker.yml b/deploy/build_env/services-windows/gitlab-ci-build-docker.yml index 12e30cb98..16176c0fd 100644 --- a/deploy/build_env/services-windows/gitlab-ci-build-docker.yml +++ b/deploy/build_env/services-windows/gitlab-ci-build-docker.yml @@ -2,7 +2,6 @@ docker-create-asapo-services-windows-build-env: image: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] - stage: .pre script: - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - /kaniko/executor --cache=false --context $CI_PROJECT_DIR/deploy/build_env/services --dockerfile $CI_PROJECT_DIR/deploy/build_env/services/Dockerfile --destination $CI_REGISTRY_IMAGE/asapo-services-build-env:${CI_COMMIT_REF_SLUG} --destination $CI_REGISTRY_IMAGE/asapo-services-build-env:latest -- GitLab