From f9ce4c9d2dd87ef4c6f1294d648503ae8fe4f528 Mon Sep 17 00:00:00 2001 From: bacon Date: Thu, 21 Mar 2024 02:26:22 +0300 Subject: [PATCH] docker --- .gitlab-ci.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bb962e8..3440908 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,4 @@ -# You can override the included template(s) by including variable overrides -# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings -# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings -# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings -# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings -# Note that environment variables can be set in several places -# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence + stages: - 'test' - 'code_quality' @@ -75,9 +69,6 @@ variables: # See https://github.com/docker-library/docker/pull/166 DOCKER_TLS_CERTDIR: "" -# Use this if your GitLab runner does not use socket binding -# services: -# - docker:dind services: - name: docker:25.0.5-dind @@ -90,8 +81,8 @@ Build: services: - docker:25.0.5-dind before_script: - - echo $CI_CONTAINER_REGISTRY - - echo $CI_REGISTRY + - echo "$CI_CONTAINER_REGISTRY" + - echo "$CI_REGISTRY" # - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_CONTAINER_REGISTRY script: