From 8a7c5b0c0cd5964f1ccb40afc434e7c9767a95b7 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 13 Aug 2025 13:42:48 +0200 Subject: [PATCH] build: remove Docker proxy configuration from Gitlab build This does not seem to be our job to setup that. --- .gitlab-ci.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 862bb8c2..e932e1ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,21 +44,6 @@ build docker image: - if: $CI_COMMIT_BRANCH == "main" - if: $CI_MERGE_REQUEST_ID script: - - | - mkdir -p ~/.docker - cat < ~/.docker/config.json - { - "proxies": - { - "default": - { - "httpProxy": "$http_proxy", - "httpsProxy": "$https_proxy", - "noProxy": "127.0.0.1/8${NO_PROXY:+,}NO_PROXY${no_proxy:+,}$no_proxy" - } - } - } - EOF - docker info - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker build -f docker/Dockerfile -t $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH$CI_MERGE_REQUEST_ID .