Skip to content

dalil01/github-runner-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Runner Docker

This Docker image provides a GitHub Actions runner that can be easily configured and deployed within a Docker environment. It allows you to run GitHub Actions workflows on your own infrastructure.

License: MIT

Docker hub

Find the Docker image on Docker Hub: https://hub.docker.com/repository/docker/dalil01/github-actions-runner

Build

To build the Docker image, use the following command:

docker build -t github-actions-runner:1.0.0-<arch> --build-arg ARCH=<arch> --build-arg RUNNER_VERSION=<version> .

Replace <arch> with the desired architecture (e.g., amd64, arm64) and <version> with the GitHub Actions runner version.

Run

To run the GitHub Actions runner in a Docker container, use the following command:

docker run -d --restart always --name <container-name> -e RUNNER_NAME=<RUNNER_NAME> -e REPOSITORY_URL=<REPOSITORY_URL> -e TOKEN=<TOKEN> -e RUNNER_ALLOW_RUNASROOT="1" -v /var/run/docker.sock:/var/run/docker.sock dalil01/github-actions-runner:1.0.0-<arch>

Replace <container-name>, <RUNNER_NAME>, <REPOSITORY_URL>, <TOKEN>, and <arch> with your desired values.

Resources

Find the newest runner version and additional documentation: https://github.com/actions/runner/

Contribution

Want to improve this project? Feel free to open pull requests and create issues.

About

Docker image for GitHub Actions runner.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published