Repository types and supported formats

Choose the repository type that matches your clients and publishing workflow.

Repository types

TypeUse it when
hostedYour teams publish and consume artifacts stored in hort.
proxyClients consume artifacts from an external upstream through hort.
virtualClients need a single endpoint across compatible repositories.
stagingArtifacts 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

  1. 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).
  2. Declare the repository and, if needed, its upstream settings in version-controlled YAML.
  3. Store upstream credentials outside the repository declaration and refer to them through supported secret references.
  4. Validate and apply the configuration.
  5. 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.

View Markdown source on GitHub