Skip to content

Setting up GitHub secrets

Candace Savonen edited this page Dec 17, 2021 · 25 revisions

Setting up GitHub secrets

The GitHub actions that this repository uses needs three GitHub secrets set up if you are not a part of the jhudsl organization.

It's important that these are set up and named exactly what they are below in order for GitHub actions to work correctly.

See GitHub Actions section for how you can customize Github actions depending on the needs of the course you are working on.

GitHub secrets

To set up these repository secrets, on your repository's main GitHub page, go to Settings and scroll down to see Secrets on the left side menu bar.

For each new secret, click the New repository secret button and set each as follows, clicking Add secret as you fill each in appropriately:

Name: GH_PAT:
*If you are a part of jhudsl organization you do not need to set these. For value: Create a personal access token following these instructions. Underneath Select scopes, check both repo and workflow. Then copy the PAT and save as the value.

Dockerhub related secrets

Note these are not required if Docker update GitHub actions are not turned on. *If you are a part of jhudsl organization you do not need to set these.

Name: DOCKERHUB_USERNAME:
For value: put your login username for https://hub.docker.com/

Name: DOCKERHUB_TOKEN:
For value: put a access token for Dockerhub. You can create this by following these instructions.

Clone this wiki locally