Skip to content

New Course - Set Github Secrets #3

@github-actions

Description

@github-actions

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions