repodynamics/BinderDocker

Creates a docker image of your repository to view the collection of notebooks

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 10, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: repodynamics/binderdocker@e5e7d8b8c8ecec5696b48fc2d34ca3a53eb4131c # v0.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
image_nameName of the image, i.e., `NAMESPACE/IMAGE_NAME` or `REGISTRY/NAMESPACE/IMAGE_NAME`. If `REGISTRY` is omitted, Docker assumes `docker.io`. Note that the tag must be omitted here. Examples: 'ghcr.io/RepoDynamics/BinderDocker' The name will be automatically lowercased, as Docker only allows lowercase image names. yes
image_tagsTag(s) of the image. Multiple tags must be separated by spaces. yeslatest
image_userusername of the primary user in the imageyesjovyan
image_dirpath inside the image where contents of the repositories are copied tono
git_refGit ref (e.g., commit hash) to assign to the 'repo2docker.ref' image label.yes
git_pathPath to the git repository to build. Defaults to current working directory.no""
cache_image_namesNames of previous versions of this image to use as cache. Multiple names must be separated by spaces. In contrast to `image_name`, these names must include the tag. no""
cache_image_tagsTags of previous versions of this image to use as cache. Multiple tags must be separated by spaces. These are converted to full image names using `image_name` as the base name, and added to `cache_image_names`. no""
repo2docker_argsExtra commandline arguments to be passed to repo2dockerno
repo2docker_versionForce a specific version of repo2docker to be installed. Either in the form of `repo2docker==<version>` for install from pypi, or `git+https://<github-url>@<commit-hash` for installing from a github repo / branchno
dockerfile_appendAppendix of Dockerfile commands to run at the end of the build. Can be used to customize the resulting image after all standard build steps finish. no
test_scriptA bash script to run inside the container to test the built image. Example: ``` python3 -m pip install --no-cache -r image-tests/requirements.txt pytest image-tests/ ``` no
pushWhether to push the image to the registry. Accepted values are 'true', 'True', '1', 'false', 'False', '0'. nofalse
verify_publicVerify whether the pushed image is publicly available. Options are: - error: Verify and raise an error if the image is not publicly available. - warning: Verify and create a warning annotation if the image is not publicly available. - false: Do not verify. Note that if any option other than 'false' is selected, the action will logout from docker. nofalse
docker_registryDocker registry.no
docker_usernameDocker username.no
docker_passwordDocker password.no
namedescription
image_namesFull names of all tagged docker images, as a JSON array string.
image_digestSHA-256 hash digest of the image. This is only available when 'push' is set to true.