geodynamics / Rayleigh

Rayleigh: Pseudo-spectral MHD
GNU General Public License v3.0
59 stars 49 forks source link

Fix container push #530

Closed gassmoeller closed 1 month ago

gassmoeller commented 1 month ago

The Rayleigh automatic docker container build had problems for a while (maybe forever?), because it no longer builds containers with capital letters (like geodynamics/Rayleigh), but instead requires lowercase letter (geodynamics/rayleigh). This PR modifies our automatic build script to create an environment variable (REPO_NAME_LC) which contains the lowercase repository name (rayleigh) and use that as the docker container name. I tested that it works now on my own repository, see the container images created here: https://hub.docker.com/r/gassmoeller/rayleigh/tags and here: https://github.com/gassmoeller/Rayleigh/pkgs/container/rayleigh

Once this is merged it will trigger a build run for the official Rayleigh images on Dockerhub: https://hub.docker.com/r/geodynamics/rayleigh/tags Github Container Registry: https://github.com/orgs/geodynamics/packages?repo_name=Rayleigh (currently empty)