How to configure self-hosted runner in GitHub Actions | Self-hosted build agent in GitHub Actions

preview_player
Показать описание

Advantages of self-hosted runners:
full control over the environment and tools
Any size machine or configuration
Secure access and networking
Pre-requisites:

Project configured in GitHub
workflow yaml already checked-in GitHub. If you don't have one, click here to create one.
Create a virtual machine with at least 2 GB RAM. we will use EC2 instance in AWS cloud.
Install Maven on runner EC2 instance

How to create self-hosted GitHub Actions Runner?

Go to GitHub Repo -- Actions-- Runners
Click on self-hosted runners --New Runner
Click on Linux

Perform update
Download installables
Configure the runner
Create a workflow or modify your workflow to include GitHub runner:
Рекомендации по теме
Комментарии
Автор

Thanks for sharing, can you please create same tutorial with bitbucket spring boot app with angular

ParagOak
Автор

How to check the if else condition in self hosted github action it throws some error.

SatheeshRaja-mdzp
Автор

Sir, why They offer GitHub Managed Runners at free of cost? Usually i did projects All build, Test, scans on Github Managed Runners and EKS/K8S Deployment on self-hosted runner there any paid subscriptions are there to production deployments in Github Actions?

naren
Автор

Hello sir, i have been configured the same way and it was worked. but after one week the github action runner is showing me offline. then i recofigured again and today check it is again offline. why it has been offline. i need your help please because i am frustrated now

samiwaxiri