[GitHub] How to set up a self hosted action runner
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,
- You have a local database setup with data, and want to test the data. In that case, a self hosted runner would be helpful.
- 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:
- Create a folder to store the runner binary…