Update .gitlab-ci.yml file

This commit is contained in:
2025-10-04 21:51:01 +00:00
parent fa48f57e3e
commit 5fe06ed6ef
+2 -6
View File
@@ -19,9 +19,7 @@ build_image:
variables:
# Настройки для корректной работы DinD
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: "/certs"
DOCKER_TLS_VERIFY: 1
DOCKER_CERT_PATH: "/certs/client"
DOCKER_TLS_CERTDIR: ""
script:
- echo "Logging into GitLab Registry..."
- echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
@@ -37,9 +35,7 @@ publish_to_nexus:
- docker:${DOCKER_VERSION}-dind
variables:
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: "/certs"
DOCKER_TLS_VERIFY: 1
DOCKER_CERT_PATH: "/certs/client"
DOCKER_TLS_CERTDIR: ""
# Используем `needs` для связи с предыдущей задачей
needs:
- build_image