-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README with
cda.
Repositories Management System details.
- Loading branch information
Showing
2 changed files
with
69 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# GitHub Actions Self-Hosted Runner Dockerfile | ||
|
||
## Overview | ||
This Dockerfile configures a self-hosted runner for GitHub Actions. It is based on Ubuntu and includes necessary tools like `curl`, `sudo`, `git`, and `jq`. | ||
|
||
## Usage | ||
1. **Build the Docker Image**: | ||
- Use `docker build` with the necessary build arguments (`REPO_URL` and `RUNNER_TOKEN`). | ||
2. **Run the Container**: | ||
- Deploy the container in your environment, and it will connect to the specified GitHub repository as a runner. | ||
|
||
## Building the Image | ||
```bash | ||
docker build -t github-runner --build-arg REPO_URL=<your-repo-url> --build-arg RUNNER_TOKEN=<your-runner-token> . | ||
|
||
Deploying the Runner | ||
|
||
Run the container using: | ||
|
||
docker run -d --name my-runner github-runner | ||
|
||
Customization | ||
|
||
You can modify the Dockerfile to include additional dependencies or configurations as needed for your CI/CD tasks. | ||
|
||
Author | ||
|
||
Created by Cdaprod |