Repository types and supported formats
Choose the repository type that matches your clients and publishing workflow.
Repository types
| Type | Use it when |
|---|---|
hosted | Your teams publish and consume artifacts stored in hort. |
proxy | Clients consume artifacts from an external upstream through hort. |
virtual | Clients need a single endpoint across compatible repositories. |
staging | Artifacts require a separate publishing stage before regular consumption. |
Repositories have a stable metadata.name and an artifact format. A proxy repository requires its proxy configuration; the available upstream-mapping model is explained in OCI pull-through. Repository storage uses the configured deployment-wide content-addressed storage backend, rather than a freely selectable backend per repository.
Formats and constraints
hort supports OCI/Docker, npm, PyPI, Cargo, and Maven/Gradle. Virtual repositories are supported for npm, PyPI, Cargo and Maven/Gradle, not OCI. Do not combine different formats or nest virtual repositories.
Set up a repository
- Decide whether clients will publish (
hosted) or consume from an upstream (proxy or a hosted repository with explicit upstream mappings, depending on the format and supported configuration). - Declare the repository and, if needed, its upstream settings in version-controlled YAML.
- Store upstream credentials outside the repository declaration and refer to them through supported secret references.
- Validate and apply the configuration.
- Configure a native client and verify a real pull or push. See OCI, npm, or PyPI.
For access control, see Identity & access. For issues during rollout, see Monitoring & troubleshooting.