Closed TomAugspurger closed 3 years ago
You could also use repository dispatch for this, which would eliminate the need for a crontab.
I experimented a bit with repository dispatch and think it is a solution here. But now that github has dependabot built in, an alternative is to change
to pangeo/base-image:2020.07.03
Add the dependabot config (.github/dependabot.yml) to automatically create PRs:
version: 2
updates:
- package-ecosystem: "docker"
directory: "binder/"
schedule:
interval: "daily"
optionall add a workflow that automatically merges PRs from dependabot https://medium.com/@toufik.airane/automerge-github-dependabot-alerts-with-github-actions-7cd6f5763750
In theory https://github.com/pangeo-gallery/default-binder/pull/9 is handling this. We'll see next time we tag a pangeo-docker image.
This is stolen from dask/dask-docker. Every night we check for an update to the pangeo-notebook conda-forge package. If there's an update, a PR is made to this repository bumping the versions.
https://github.com/dask/dask-docker/pull/90 has an example for dask-docker.
cc @scottyhq, since I'm guessing this will be useful to you.