Build and host Singularity containers on Github

singularity
Published

November 3, 2022

I present a demo repository configured to build Singularity containers using Github actions and then host them using the Github container registry:

See how the Github action workflow is configured, based on the Singularity Builder GitHub CI.

See the logs of a Ubuntu container build process.

Once the container is built, it is shown in the “Packages” section of the Github repository, it can then be pulled locally with:

singularity pull oras://ghcr.io/zonca/singularity_github_ci:ubuntu-20.04