I have set up a repository on GitHub with an environment.yml file and Jupyter notebook .ipynb files that the mybinder org web service is successfully able to pull from and load its contents.
What I tried next was to set up a repo2docker GitHub Action in my repository for automatically building a Docker image and caching it on mybinder org upon every push to the repository. I did so by creating a file /.github/workflows/binder.yml with contents exactly as shown in the Cache builds on mybinder org section of the repo2docker documentation:
name: Binder
on: [push]
jobs:
Create-MyBinderOrg-Cache:
runs-on: ubuntu-latest
steps:
- name: cache binder build on mybinder.org
uses: jupyterhub/repo2docker-action@master
with:
NO_PUSH: true
MYBINDERORG_TAG: ${{ github.event.ref }} # This builds the container on mybinder.org with the branch that was pushed on.
However the GitHub workflow fails with the following error message:
Triggering Image Build on mybinder.org
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem: self-signed certificate
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the webpage mentioned above.
Does anyone here have any idea what exactly is going wrong here, and how I could go about resolving it?
EDIT:
This issue has been cross-posted on StackOverflow and repo2docker-action GitHub (but I’m unable to insert the links here because of an apparent maximum two links per post restriction). At the time of writing replies have not yet been received yet on these other sites.