IAGA-VMOD / IGRF14eval

IAGA V-MOD International Geomagnetic Reference Field 14th generation (IGRF-14) candidate submission and evaluation
https://iaga-vmod.github.io/IGRF14eval/
MIT License
2 stars 16 forks source link

Pre-cache Docker images for Binder to use #10

Closed smithara closed 2 months ago

smithara commented 2 months ago

This primarily adds a new workflow .github/workflows/binder.yml that uses repo2docker-action, and some reorganisation to accommodate that.

That runs repo2docker on GitHub Actions to build a Docker image which is pushed to https://github.com/IAGA-VMOD/IGRF14eval/pkgs/container/igrf14eval, on each push to main (and updates binder/Dockerfile to point to the new image). The Docker image can be used directly, either locally or from a BinderHub. This means mybinder.org will use the image directly rather than building it (i.e. the build is offloaded to GitHub Actions)

This should make Binder a bit quicker, but is still quite slow.

I have also removed the branch protection from main to allow the github-actions bot to push the updated Docker image tag. I did not find an easy workaround.

github-actions[bot] commented 2 months ago

🚀 Deployed on https://66bd0188e9da4e035da5fea7--igrf14eval.netlify.app