Skip to content

Cristigeo/github-runner-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-runner-linux

A simple, self-hosted Github Actions runner, as a Docker container.

Build docker image

Run the following (or similar) command, optionally specifying the desired github runner version / platform / architecture that will be installed (if ommited, will default to 2.308.0 / linux / x64):

docker build --build-arg RUNNER_VERSION=2.308.0 --build-arg RUNNER_PLATFORM=linux --build-arg RUNNER_ARCH=arm64 --tag my-gh-actions-runner-image .

Start docker container

docker run -e GH_TOKEN='myPatToken' -e GH_OWNER='myOrganizationOrUserName' -e GH_REPOSITORY='myRepoName' -d my-gh-actions-runner-image

You need to create a personal access token for the runner, with the minimum permission scopes "repo" and "read:org".

About

A simple, self-hosted GithubActions runner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published