From daadcf9f858538d4658335fac58fe551ca391206 Mon Sep 17 00:00:00 2001 From: Ivan Usov Date: Mon, 15 Apr 2024 14:35:27 +0200 Subject: [PATCH] ci: pull images via gitlab dependency proxy --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e037643..ac21342 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ # This file is a template, and might need editing before it works on your project. # Official language image. Look for the different tagged releases at: # https://hub.docker.com/r/library/python/tags/ -image: $CI_DOCKER_REGISTRY/python:3.10 +image: $CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/python:3.10 #commands to run in the Docker container before starting each job. before_script: @@ -27,7 +27,7 @@ pytest: tests-3.11: stage: AdditionalTests - image: $CI_DOCKER_REGISTRY/python:3.11 + image: $CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/python:3.11 needs: ["pytest"] script: - pytest -v --random-order ./tests @@ -36,5 +36,5 @@ tests-3.11: tests-3.12: extends: "tests-3.11" stage: AdditionalTests - image: $CI_DOCKER_REGISTRY/python:3.12 + image: $CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/python:3.12 allow_failure: true