Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Course - Set Github Secrets #3

Open
4 tasks
github-actions bot opened this issue Oct 1, 2021 · 0 comments
Open
4 tasks

New Course - Set Github Secrets #3

github-actions bot opened this issue Oct 1, 2021 · 0 comments

Comments

@github-actions
Copy link

github-actions bot commented Oct 1, 2021

Note these steps are only pertinent if you are setting up this course outside of the jhudsl organization

For more information on these settings see instructions in the getting started GitHub wiki pages.

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

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:

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

  • Set DOCKERHUB_TOKEN
    Name:DOCKERHUB_TOKEN
    value: put a access token for Dockerhub which you can create this by following these instructions.

  • Set GIT_TOKEN
    Name: GIT_TOKEN
    value: A personal access token following these instructions.
    Underneath Select scopes, check both repo and workflow.
    Then copy the PAT and save as the value.

  • (Optionally) Set up your Leanpub repository link to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants