From cd182db4bafe68bf3f24962ded1dcfd9b87c6e8b Mon Sep 17 00:00:00 2001 From: bacon Date: Thu, 21 Mar 2024 01:52:20 +0300 Subject: [PATCH] docker --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index af7ef9e..be8261e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -89,12 +89,12 @@ Build: image: docker@sha256:c8bb6fa5388b56304dd770c4bc0478de81ce18540173b1a589178c0d31bfce90 services: - docker:dind@sha256:c8bb6fa5388b56304dd770c4bc0478de81ce18540173b1a589178c0d31bfce90 - before_script: - - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_CONTAINER_REGISTRY + # before_script: + # - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_CONTAINER_REGISTRY script: # fetches the latest image (not failing if image is not found) - - docker pull $CI_REGISTRY_IMAGE:latest || true + # - docker pull $CI_REGISTRY_IMAGE:latest || true # builds the project, passing proxy variables, using OCI labels # notice the cache-from, which is going to use the image we just pulled locally # the built image is tagged locally with the commit SHA, and then pushed to