Repository addresses
Each repository has one address for its format, under the address of your server. The Use this repository tab of a repository shows the setup for each client with the real address filled in, so use this page for a client that you configure by hand.
The examples use the server https://repo.example.com and a repository named REPO. IMAGE and TAG stand for the name and the tag of a Docker image.
Build tools and languages
Section titled “Build tools and languages”| Format | Kinds | Address |
|---|---|---|
| Maven / Gradle | hosted, proxy, group | https://repo.example.com/maven/REPO |
| npm | hosted, proxy, group | https://repo.example.com/npm/REPO/ |
| Python (PyPI) | hosted, proxy, group | https://repo.example.com/pypi/REPO/simple/ to install, https://repo.example.com/pypi/REPO/ to upload |
| Cargo (Rust) | hosted, proxy, group | sparse+https://repo.example.com/cargo/REPO/index/ |
| NuGet | hosted, proxy, group | https://repo.example.com/nuget/REPO/index.json |
Containers
Section titled “Containers”| Format | Kinds | Address |
|---|---|---|
| Docker | hosted, proxy, group | repo.example.com/REPO/IMAGE:TAG |
A Docker repository answers at the root of a host, so its address has no path. Helm charts and other OCI files use the same address. For layers over 100 MB behind Cloudflare, see Push large Docker images.
Linux packages
Section titled “Linux packages”| Format | Kinds | Address |
|---|---|---|
| Debian (apt) | hosted, proxy | https://repo.example.com/debian/REPO |
| Arch Linux (pacman) | hosted, proxy | https://repo.example.com/arch/REPO/$arch |
| RPM (dnf) | hosted, proxy | https://repo.example.com/rpm/REPO/ |
Arch Linux
Section titled “Arch Linux”pacman reads the address from the Server line under [REPO] in /etc/pacman.conf and fills in $arch itself, so type $arch as it is. The repository serves one signed index for each architecture, and pacman needs the key of the repository to check them.
dnf reads the address as the baseurl of a .repo file. One address serves every architecture and dnf picks the packages for its own computer, so the address has no $basearch. The packages and the index are signed with the key of the repository.
For both formats, the Use this repository tab shows the key and the configuration to copy.
Raw files
Section titled “Raw files”| Format | Kinds | Address |
|---|---|---|
| Raw files | hosted | https://repo.example.com/raw/REPO |
Proxies and groups
Section titled “Proxies and groups”A proxy and a group take no uploads. The Kinds column says which formats take each kind. To make one, see Add public packages.