Docker Image for my Self-Hosted GitHub Runner.
364
This repository contains a custom GitHub Runner packaged as a Docker image. GitHub Actions allows you to automate your workflow, and using custom runners can extend the capabilities of your actions. This Docker image provides a way to run GitHub Actions workflows on your own infrastructure. Image is based on ubuntu:20.04
Details on this Docker Image can be found at: GitHub | BenTheCloudGuy
Before using this Docker image, ensure you have the following prerequisites installed:
Pull the latest version of the custom GitHub Runner Docker image from Docker Hub:
docker pull benthebuilder/cglabs-gh-runner
Set up the runner by providing necessary configuration options such as GitHub registration token, runner name, etc. These configurations are typically provided through environment variables.
Start the Docker container using the pulled image:
docker run -d benthebuilder/cglabs-gh-runner \
-e TOKEN=<GITHUB PAT>> \
-e REPO=<username\repo>
Once the container is running, register the runner with your GitHub repository. Follow the instructions provided by GitHub for runner registration.
After registering the runner, you can now use it to run workflows in your GitHub repository. Configure your workflows to use this runner as needed.
You can configure the custom GitHub Runner by providing environment variables to the Docker container. Refer to the GitHub Actions documentation for a list of available configuration options.
This project is licensed under the MIT License.
For any questions, issues, or feedback, please open an issue on GitHub.
Content type
Image
Digest
sha256:c5dcdc568…
Size
1.5 GB
Last updated
over 2 years ago
docker pull benthebuilder/cglabs-gh-runner