This CI/CD pipeline automatically detects Dockerfiles and builds Docker containers, triggers a Coolify deployment, creates a Git tag, and generates a GitHub release. It also supports mirroring to other repositories, streamlining the deployment process and ensuring consistent versioning.
Name | Description | Type | Example | Required |
---|---|---|---|---|
GH_PAT |
GitHub Personal Access Token is an access token for authentication and automation in GitHub Actions, e.g. for releases and Docker uploads | string | ghp_abcdefghijklmnopqrstuvwxyz1234567890 | ✅ |
DOCKERHUB_USERNAME |
GitHub Personal Access Token is an access token for authentication and automation in GitHub Actions, e.g. for releases and Docker uploads | string | ghp_abcdefghijklmnopqrstuvwxyz1234567890 | ❌ |
DOCKERHUB_TOKEN |
GitHub Personal Access Token is an access token for authentication and automation in GitHub Actions, e.g. for releases and Docker uploads | string | ghp_abcdefghijklmnopqrstuvwxyz1234567890 | ❌ |
GITLAB_USERNAME |
GitHub Personal Access Token is an access token for authentication and automation in GitHub Actions, e.g. for releases and Docker uploads | string | ghp_abcdefghijklmnopqrstuvwxyz1234567890 | ❌ |
GITLAB_TOKEN |
GitHub Personal Access Token is an access token for authentication and automation in GitHub Actions, e.g. for releases and Docker uploads | string | ghp_abcdefghijklmnopqrstuvwxyz1234567890 | ❌ |
PROD_COOLIFY_WEBHOOK |
Webhook URL used to trigger a deployment in the production environment | string | https://coolify.example.com/api/v1/deploy?uuid=&force=false | ❌ |
DEV_COOLIFY_WEBHOOK |
Webhook URL used for sending notifications in the development environment | string | https://coolify.example.com/api/v1/deploy?uuid=&force=false | ❌ |
COOLIFY_TOKEN |
Authentication token used for accessing the Coolify API or webhook integration | string | ❌ | |
SSH_PRIVATE_KEY |
ssh key for the remote repository to be mirrored to | string | ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG6Dh5NcyvT6h4NhmKKxEk3wYbvqMZ46e0l9TXZ4hwF user@example.com | ❌ |
If you have any ideas or want to contribute yourself... go for it. I really appreciate it if some of you have cool ideas🚀
The code is distributed under the MIT License. See LICENSE
for more information.