Packaging and publishing with Nitrile

Nitrile packages are not stored centrally. Instead, distributions are stored in projects for each package. The Clean Registry only keeps track of the packages in existence and links to the files on

To publish a package, you need to create a GitLab CI configuration that runs nitrile publish after nitrile package. This command:

  1. Uploads the package and some metadata to GitLab as a generic package.
  2. Informs the registry of the change.

The registry will then check and update the versions it holds. You do not need to create an account on the registry for this; the registry has no accounts.

nitrile publish should only be run when a new version is created. We have collected some example configurations which make sure that nitrile publish is only run for git tags.

Before publishing a package, make sure that it is ready.