Repositories
Connecting and managing Git repositories in OrcaCD
A Repository in OrcaCD is a Git repository that contains Docker Compose files. OrcaCD keeps the repository in sync with its remote and uses it as the source of truth for your deployments.
Supported Providers
- GitHub
- GitLab
- Gitea
- Azure DevOps
- Bitbucket
- Generic (Git)
Adding a Repository
- Navigate to the Repositories page and click Add Repository.
- Enter the repository URL (e.g.,
https://github.com/your-org/your-repo). - Select the provider.
- Choose an authentication method.
- Choose a sync strategy.
- Save.
OrcaCD will immediately attempt to clone the repository and perform an initial sync.
Authentication Methods
None
For public repositories, no credentials are required but recommended for security.
Token (HTTPS)
Use a personal access token or deploy token. Enter the token in the Auth Token field.
For GitHub, create a fine-grained personal access token with read access to Contents.
For GitLab, create a project access token with read_repository scope.
Sync Strategies
Polling
OrcaCD periodically checks the remote repository for new commits. The minimum polling interval is 30 seconds; the default is 60 seconds.
Use polling when:
- You cannot expose an inbound webhook endpoint
- You want a simple setup without additional configuration
Webhook
OrcaCD listens for push events from your Git provider via webhook. This is more efficient than polling and reacts to new commits instantly.
Manual
The repository is only synced when you explicitly trigger a sync from the UI or API.
GitHub Actions OIDC
For GitHub repositories, you can enable GitHub Actions OIDC integration. This allows GitHub Actions workflows to trigger deployments directly without storing a long-lived token in your CI secrets.
See the GitHub Actions guide for details.
Repository Status
| Status | Meaning |
|---|---|
success | Last sync completed without errors |
syncing | Sync is in progress |
failed | Last sync failed |
unknown | Repository has not been synced yet |
Last updated on