From 8e4cc1b69d381678f342b3d42205d61122bf4d8d Mon Sep 17 00:00:00 2001 From: Francois Pelletier Date: Fri, 20 Jan 2023 23:22:17 -0500 Subject: [PATCH] ajout du gitlab-ci --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a92aa3b..08dc5a3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,11 @@ 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:v2.1.1 caprover deploy --caproverUrl $CAPROVER_URL --caproverPassword $CAPROVER_PASSWORD --caproverApp $CAPROVER_APP --imageName $CONTAINER_FULL_IMAGE_NAME_WITH_TAG + - docker run caprover/cli-caprover:v2.2.3 caprover deploy \ + - --caproverUrl "$CAPROVER_URL" \ + - --caproverPassword "$CAPROVER_PASSWORD" \ + - -a "$CAPROVER_APP" \ + - -i "$CONTAINER_FULL_IMAGE_NAME_WITH_TAG" only: - main variables: