Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions Runner (Self-Hosted)

Quick Start

  1. Copy environment variables:

    cp .env.example .env
  2. Fill in .env:

    GITHUB_NAME=abyss-works
    RUNNER_TOKEN=<registration-token>

    RUNNER_TOKEN 발급:

    • Org runner:

      gh api --method POST \
        /orgs/${GITHUB_NAME}/actions/runners/registration-token \
        --jq '.token'
    • Repo runner:

      gh api --method POST \
        /repos/${GITHUB_NAME}/${GITHUB_REPO}/actions/runners/registration-token \
        --jq '.token'
  3. Start:

    docker compose up -d

After the first run, docker compose up -d is all you need.

About

GitHub Actions Runner - Docker Compose

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors