mirror of
https://github.com/dokku/dokku.git
synced 2025-12-23 07:19:24 +01:00
1.1 KiB
1.1 KiB
Generic CI/CD Integration
In cases where there is no direct or documented integration available, the Dokku project provides an Official Docker Image for use in Continuous Integration/Continuous Deployment (CI/CD) systems.
Assuming a Docker image can be run as a CI task with environment variables injected, the following CI systems will have their variables automatically detected:
Simple Usage
The simplest usage of the image is as follows.
# where the `.env` file contains `GIT_REMOTE_URL` and `SSH_PRIVATE_KEY`
docker run --rm -v="$PWD:/app" --env-file=.env dokku/ci-docker-image dokku-deploy
For more configuration examples and further documentation, see the ci-docker-image readme.