Skip to content
Snippets Groups Projects
Commit 4e78fba0 authored by LAMRINI Houda's avatar LAMRINI Houda
Browse files

Update .gitlab-ci.yml file

parent b6b2a8f7
No related branches found
No related tags found
No related merge requests found
Pipeline #47256 failed
......@@ -3,7 +3,8 @@ image: ubuntu:latest
services:
- name: docker:20.10.5-dind
alias: docker
command: ["--host=tcp://0.0.0.0:2375"]
command: ["--host=tcp://0.0.0.0:2375", "--tls=false"]
variables:
DOCKER_HOST: "tcp://docker:2375"
......@@ -17,11 +18,13 @@ stages:
- deploy
before_script:
- apt-get update && apt-get install -y docker.io
- echo "Logging into GitLab Container Registry..."
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
- echo "Checking Docker availability..."
- docker info
- docker version # Affiche la version du client Docker
- docker info # Affiche les informations détaillées du serveur Docker
- docker ps # Liste les conteneurs Docker en cours d'exécution pour vérifier la connectivité
build-push-image:
stage: build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment