Skip to main content

13. Github for package hosting

Date: 2020-05-05

Status

Accepted

Context

We produce some custom packages for our projects. In the case where the package is open source it is totally acceptable to host the package on rubygems, npm, or docker hub. In the case where it is closed source we needed to put those packages somewhere. Github includes it in our price and makes it easy to work with.

Decision

Closed source ruby gems,npm packages, or docker images will be hosted in a project specific repository at github.

Consequences

The only issue is that you can’t seem to host public packages on a private repo. Also the name for packages is unique for the organization not just for the project. UPDATE - 10/4/2021

Github has migrated to a new package system. Now we can host public images for different packages. This meant we could stop using docker hub completely.