enlever le v de la version de caprover/cli-caprover

This commit is contained in:
Francois Pelletier 2023-01-20 23:31:04 -05:00
parent ea7ff46528
commit 05bada4bfb

View file

@ -22,13 +22,9 @@ build-push-docker-image-job:
- docker build -f ./Dockerfile --pull -t built-image-name .
- docker tag built-image-name "$CONTAINER_FULL_IMAGE_NAME_WITH_TAG"
- docker push "$CONTAINER_FULL_IMAGE_NAME_WITH_TAG"
- echo $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 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: