This package is a template for building a Bioconductor workshop. The package includes Github actions to:
DESCRIPTION file)rcmdcheck::rcmdcheck
ghcr.io/gihub_user/repo_name, all lowercase.Package authors are primarily responsible for:
DESCRIPTION file as the URL.DockerImage: in the DESCRIPTION file.Both of those tasks can be accomplished using the Github actions included in this template package. The vignette accompanying this package describes how to accomplish both of these tasks.
pkgdown website at https://YOURUSERNAME.github.io/YOURREPOSITORYNAME/
latest, sha-XXXXXX where XXXXXX is the hash of the current master commit, and master.Your workshop Docker image will NOT be publicly accessible by default.
GitHub Container Registry (GHCR) sets all newly pushed packages to private visibility automatically. This means that anyone trying to pull your workshop image — attendees, workshop organizers, automated systems — will get an authentication error unless you explicitly change the visibility to public.
This is a manual step that cannot be automated through the GitHub Actions workflow in this template, because changing package visibility requires owner-level permissions that exceed what the
GITHUB_TOKENsecret can provide.
After GitHub Actions successfully pushes your Docker image for the first time:
Alternatively, navigate directly to:
https://github.com/users/YOUR_USERNAME/packages/container/YOUR_REPO_NAME/settings
(or for organizations: https://github.com/orgs/YOUR_ORG/packages/container/YOUR_REPO_NAME/settings)
Once running, navigate to http://localhost:8787/ and then login with rstudio:yourchosenpassword.
To try with this repository docker image:
NOTE: Running docker that uses the password in plain text like above exposes the password to others in a multi-user system (like a shared workstation or compute node). In practice, consider using an environment variable instead of plain text to pass along passwords and other secrets in docker command lines.