This repository builds a JupyterHub environment with Repo2Docker GitHub Actions CI
- Click 'Use this Template' to create a copy of the configuration under your organization
- Edit README.md
- Edit
.env
anddocker-compose.yml
with your container storageorg/repository
- Ensure you have GitHub Secrets for DOCKER_USERNAME and DOCKER_PASSWORD
- Build with GitHub Actions simply by pushing to GitHub:
- Commits to 'main' branch build image, by git commit sha and 'latest', and push to DockerHub and Quay.io
- Pull Requests trigger image building without pushing to DockerHub
git clone https://github.com/uwhackweek/docker-template
cd docker-template
git checkout dev
# make sure dev branch is up-to-date with master
git merge master
# modify environment.yml or other files in binder/
git commit -a -m "modified binder/environment to my liking"
git push
# go to github.com and create a pull request to merge dev changes into master
docker compose up
# Do things in JupyterLab w/ files in local directory
docker compose down