Skip to content

Set of scripts that'll download and configure Github Action's self-hosted runner based on PAT.

Notifications You must be signed in to change notification settings

wzieba/RunSelfHostedRunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated self-hosted Github Actions runner Run runner

This set of scripts automates instalation, token generation, configuration and run of the self-hosted Github Action runner

Highly inspired by https://github.com/myoung34/docker-github-actions-runner/

Requirements

This script requires jq (to read Github API response with token)

It's also designed to work on macOS, but you can easily change it in install_actions.sh

Usage

./entrypoint.sh --token <token> --repo https://github.com/user/repo --name "My cool runner"

Token type

Token will be used to dynamically fetch a new runner token, as runner tokens are valid for a short period.

Your PAT should have repo scopes.

(this description is partialy taken from https://github.com/tcardonne/docker-github-runner#runner-token)

About

Set of scripts that'll download and configure Github Action's self-hosted runner based on PAT.

Resources

Stars

Watchers

Forks

Languages