From bbfa10daf6c28915d8e6d3f0a553b4bc311c7645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pelletier?= Date: Sun, 28 Jan 2024 20:52:02 -0500 Subject: [PATCH] ajout --network=host dans le docker run --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d3dc83..d01dd77 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,7 @@ build-push-docker-image-job: - docker push "$CONTAINER_FULL_IMAGE_NAME_WITH_TAG" - echo "$CONTAINER_FULL_IMAGE_NAME_WITH_TAG" - echo "Deploying on CapRover..." - - docker run caprover/cli-caprover:2.2.3 caprover deploy --caproverUrl "$CAPROVER_URL" --caproverPassword "$CAPROVER_PASSWORD" -a "$CAPROVER_APP" -i "$CONTAINER_FULL_IMAGE_NAME_WITH_TAG" + - docker run --network=host caprover/cli-caprover:2.2.3 caprover deploy --caproverUrl "$CAPROVER_URL" --caproverPassword "$CAPROVER_PASSWORD" -a "$CAPROVER_APP" -i "$CONTAINER_FULL_IMAGE_NAME_WITH_TAG" only: - main variables: