ajout du gitlab-ci
This commit is contained in:
parent
45f572f6b5
commit
8e4cc1b69d
1 changed files with 5 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue