Docker GitHub Runner

Instructions for Personal Account

  1. Login to the Personal account

  2. Create an access_token for the account and provide repo access

  3. Create a .env file in the same directory as docker-compose.yml and add the following variables:

    GITHUB_USERNAME=rickdonato
    GITHUB_REPO=docker-gh-runner
    ACCESS_TOKEN=github-access-token
    
  4. Run docker-compose yml file

    docker-compose up --build
    

Instructions for Organization Account

  1. Login to Organization Admin User

  2. Create an access_token for the account and provide admin:org access

  3. Create a .env file in the same directory as docker-compose.yml and add the following variables:

    GITHUB_ORGNAME=packetcoders
    ACCESS_TOKEN=github-access-token
    
  4. Run docker-compose yml file

    docker-compose up --build