Package registries next to your code
Store what your builds produce where the code lives: libraries, container images and downloadable files. Pipelines publish without extra credentials, and every version links back to the run that built it.
One home for every package
A project can hold any number of package repositories, one per kind of package: libraries for your build tools, container images, and files such as installers, archives and update feeds.
Each repository has its own rules, such as whether a published version can be replaced.
Linked to the build
A package page shows its versions, files and declared dependencies, with a snippet for your build tool. The pipeline run that published a version lists it among its artifacts, so you can go from a package to the commits behind it.
Connect your tools in a minute
The Connect dialog is made for the repository type: pick your build tool and copy the ready lines to sign in, download and publish.
Generate a token right in the dialog and it lands in the lines for you. In a pipeline there is nothing to configure: every step is already signed in to the registry of the project.
Private or public
A private repository is open only to people with access to the project. A public one lets anyone download without credentials, which suits installers and open packages. Publishing always requires access to the project.
Mirrors of public registries
A mirror fetches packages from a remote registry and caches them here, so builds keep working when the remote is slow or down.
Limit which packages a mirror may fetch with name filters, add credentials for a private remote, and list several remotes behind one address.
Clean up old versions
Retention rules decide which versions are kept: the newest ones of each package, the ones downloaded recently, or every version that was ever downloaded. A cleanup deletes only versions that no rule protects.
Before you turn a rule on, see how much storage a cleanup would free.
Questions about packages
- Which package formats are supported?
- Libraries for common build tools, container images and plain files. The list of formats keeps growing; the documentation lists the current ones.
- Do pipelines need a token to publish?
- No. Every pipeline step is already signed in to the registry of its project.
- Does package storage count toward the plan?
- Yes. Packages share the storage of the organization with repositories, attachments and call recordings. Retention rules keep it in check.
- Can people outside the team download a file?
- Yes. Make the repository public, and anyone can download from it by link without credentials.