Skip to content

Latest commit

 

History

History
64 lines (47 loc) · 2.74 KB

README.md

File metadata and controls

64 lines (47 loc) · 2.74 KB

Contributors Forks Stargazers Issues MIT License

Logo

Dockerized self-hosted runner

This is an Ubuntu Dockerfile for self hosted GitHub Action.

Report an issue

Table of contents

How to build it

You must specify 3 vaild arguments (org, repo and token) to build the Dockerfile.

docker build --build-arg org=<OrganizationNameHere> --build-arg repo=<RepoNameHere> --build-arg token=<ActionsRunnerTokenHere> -t dockerizied-self-hosted-runner .

How to bash in

To connect to the Docker image to execute bash commands.

docker run -it dockerizied-self-hosted-runner sh

How to stop it

To stop the Docker image.

Ctrl + C

How to remove it

To completely remove the dockerized self hosted runner.

https://docs.github.com/en/free-pro-team@latest/actions/hosting-your-own-runners/removing-self-hosted-runners#:~:text=Click%20next%20to%20the%20runner,removing%20the%20self%2Dhosted%20runner.