Merging Pull Requests#
To build new images and publish them to the Registry, do the following:
Make sure GitHub Actions status checks pass for the PR.
Merge the PR.
Monitor the merge commit GitHub Actions status.
GitHub Actions are pretty reliable, so please investigate if some error occurs. Building Docker images in PRs is the same as building them in the default branch, except single-platform images are pushed to Registry and then tags are merged for
Avoid merging another PR to the main branch until all pending builds in the main branch are complete. This way, you will know which commit might have broken the build and also have the correct tags for moving tags (like the
Updating Python version#
When a new
Python version is released, we wait for:
all the dependencies to be available (as wheels or in
Pythonpatch release for this version. This allows us to avoid many bugs, which can happen in a major release.
Updating the Ubuntu Base Image#
jupyter/docker-stacks-foundation is based on the LTS Ubuntu docker image.
We are waiting for the first point release of the new LTS Ubuntu before updating the version.
Other images are directly or indirectly inherited from
We rebuild our images automatically each week, which means they frequently receive updates.
When there’s a security fix in the Ubuntu base image, it’s a good idea to manually trigger the rebuild of images
from the GitHub actions workflow UI.
Run Workflow button will trigger this process.
Adding a New Core Image to the Registry#
In general, we do not add new core images and ask contributors to either create a recipe or community stack. We have a policy, which we consider when adding new images or new packages to existing images.
You can see an example of adding a new image here.
When there’s a new stack definition, check before merging the PR:
PR updates the Makefile, which is used to build the stacks in order on GitHub Actions.
Necessary Tagger(s)/Manifest(s) are added for the new image in the tagging folder.
A new repository is created in the
jupyterorganization in the Registry, and it’s named after the stack folder in the git repo.
Writepermission is added in the
Adding a New Registry Owner Account#
Add the maintainer’s username.
Restarting a failed build#
If an automated build in GitHub Actions has got you down, you can restart failed steps on GitHub. You can also download the artifacts and investigate them for any issues.