[GitHub] How to set up a self hosted action runner

Sarvsav Sharma
4 min readMay 7, 2023

A self hosted github action runner, allows you to run the github actions locally on your machine, instead of github hosted servers.

Use case: For example,

  1. You have a local database setup with data, and want to test the data. In that case, a self hosted runner would be helpful.
  2. You have some local docker private images present in your infrastructure, then a self hosted runner would be helpful.

How to setup?

Start by creating an empty repository in github, and go to

Settings > Actions > Runners

And, click on New self-hosted runner button. It will open a new page with all the instruction for different kind of operating systems.

As I am on Ubuntu operating system, so I choose Linux as os, and architecture as x64 .

Now, to start the runner consists of steps:

  1. Create a folder to store the runner binary…

--

--

Sarvsav Sharma
Sarvsav Sharma

Written by Sarvsav Sharma

Mostly writes about Go, GitHub, and DevSecOps. Interested in distributed systems. GitHub:sarvsav Maintainer:go-feature-flag/gofeatureflag-lint-action

No responses yet