Build system for creating Docker image used by GitHub Actions CI testing framework for hepdata-converter
This is a companion repository for the
hepdata-converter
repository (it is also included there as a submodule in the
docker
directory).
This repository has only one purpose: to separate the Dockerfile
from the
main hepdata-converter
repository, in order to automate building Docker images with the help of
GitHub Actions and
then pushing them to
Docker Hub.
The Docker image hepdata-converter
contains the
ROOT and YODA
dependencies needed for running the
hepdata-converter code,
but not the hepdata-converter
package itself.
The basic workflow is as follows:
- Modify
Dockerfile
(or any other files). - Commit it to the repository.
- Push the code.
- GitHub Actions will create a Docker image from the
Dockerfile
and upload it to Docker Hub.
Warning: any build on the main branch (or a tagged release) will trigger upload of the new Docker image to Docker Hub, so be cautious about it, especially if you plan to start breaking things.