testing registry

This commit is contained in:
2024-05-29 21:43:38 +03:00
parent 9a280d3814
commit b515fb0f81

View File

@@ -25,21 +25,24 @@ pytest:
variables: variables:
DOCKER_HOST: tcp://docker:2375
# fill those if you have a proxy in your environment # fill those if you have a proxy in your environment
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
# See https://github.com/docker-library/docker/pull/166 # See https://github.com/docker-library/docker/pull/166
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: "/certs"
make_image: make_image:
stage: build stage: build
needs:
- pytest
image: docker:26.1.3 image: docker:26.1.3
services: services:
- docker:26.1.3-dind - docker:26.1.3-dind
before_script: before_script:
- unset DOCKER_HOST
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script: script: