| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository provides enhanced Docker images for GitHub Actions self-hosted runners with a comprehensive suite of pre-installed development and operations tools. Built on top of the official GitHub Actions runner base image, it includes essential tools for CI/CD workflows, making it ideal for enterprise and development environments.
docker pull emberstack/github-actions-runner:latestdocker pull ghcr.io/emberstack/github-actions-runner:latestdocker run -d \
--name github-runner \
-e GITHUB_RUNNER_URL="https://github.com/your-org/your-repo" \
-e GITHUB_RUNNER_PAT="your-personal-access-token" \
-e GITHUB_RUNNER_NAME="my-runner" \
-e GITHUB_RUNNER_LABELS="docker,linux" \
emberstack/github-actions-runner:latestdocker run -d \
--name github-runner \
-e GITHUB_RUNNER_URL="https://github.com/your-org/your-repo" \
-e GITHUB_RUNNER_TOKEN="your-registration-token" \
-e GITHUB_RUNNER_NAME="my-runner" \
emberstack/github-actions-runner:latestdocker run -d \
--name github-runner \
-v /var/run/docker.sock:/var/run/docker.sock \
-e GITHUB_RUNNER_URL="https://github.com/your-org/your-repo" \
-e GITHUB_RUNNER_PAT="your-personal-access-token" \
-e GITHUB_RUNNER_DOCKER_SOCK="true" \
emberstack/github-actions-runner:latestdocker run -d \
--name github-runner \
-e GITHUB_RUNNER_URL="https://github.com/your-org/your-repo" \
-e GITHUB_RUNNER_PAT="your-personal-access-token" \
-e GITHUB_RUNNER_GID="1001" \
emberstack/github-actions-runner:latestdocker run -d \
--name github-runner \
-e GITHUB_RUNNER_URL="https://github.com/your-org/your-repo" \
-e GITHUB_RUNNER_PAT="your-personal-access-token" \
-e GITHUB_RUNNER_EPHEMERAL="true" \
emberstack/github-actions-runner:latestThe GITHUB_RUNNER_NAME supports safe environment variable expansion, allowing dynamic runner names based on any runtime environment variable:
# Use container hostname (container ID in Docker)
docker run -d \
--name github-runner \
-e GITHUB_RUNNER_URL="https://github.com/your-org/your-repo" \
-e GITHUB_RUNNER_PAT="your-personal-access-token" \
-e GITHUB_RUNNER_NAME='$HOSTNAME' \
emberstack/github-actions-runner:latest
# Combine with prefix/suffix
docker run -d \
--name github-runner \
-e GITHUB_RUNNER_URL="https://github.com/your-org/your-repo" \
-e GITHUB_RUNNER_PAT="your-personal-access-token" \
-e GITHUB_RUNNER_NAME='runner-$HOSTNAME' \
emberstack/github-actions-runner:latest
# Use in Docker Compose with custom hostname
services:
runner:
image: emberstack/github-actions-runner:latest
hostname: worker-node-1
environment:
GITHUB_RUNNER_URL: "https://github.com/your-org/your-repo"
GITHUB_RUNNER_PAT: "your-personal-access-token"
GITHUB_RUNNER_NAME: 'runner-$HOSTNAME' # Will be "runner-worker-node-1"Examples of Supported Variables:
Note: Use single quotes (') to prevent variable expansion on the host shell, allowing expansion inside the container. Variable expansion is performed safely using envsubst, preventing code injection.
In ephemeral mode, the runner will:
The following environment variables are set in the Docker image:
The container handles shutdown signals (SIGTERM, SIGINT) gracefully:
This automatic cleanup prevents orphaned runner registrations when containers are stopped.
The following tools are already available in the GitHub Actions runner base image:
The image uses a YAML-driven installation system:
docker build -t github-actions-runner -f src/Dockerfile src/docker buildx build --platform linux/amd64 -t github-actions-runner -f src/Dockerfile src/docker buildx build --platform linux/amd64,linux/arm64 -t github-actions-runner -f src/Dockerfile src/#!/bin/bash
# src/scripts/install-newtool.sh
apt-get update
apt-get install -y newtool
# Add verification
if ! command -v newtool &> /dev/null; then
echo "ERROR: newtool installation failed"
exit 1
fi- name: "Install New Tool"
script: "scripts/install-newtool.sh"
description: "Description of the tool"chmod +x src/scripts/install-newtool.shThe repository uses GitHub Actions for automated building and releasing:
├── .github/ │ └── workflows/ │ └── pipeline.yaml # CI/CD pipeline ├── src/ │ ├── Dockerfile # Main Docker image definition │ ├── setup.yaml # Tool installation configuration │ ├── setup.sh # Installation orchestrator │ └── scripts/ # Individual tool installation scripts ├── GitVersion.yaml # Semantic versioning configuration ├── LICENSE # Repository license ├── README.md # This file └── CLAUDE.md # AI assistant guidance
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
While installation scripts for various development tools are available in the src/_archive/scripts/ directory, we recommend using GitHub Actions' official setup actions or marketplace actions in your workflows:
These actions provide better caching, version management, and are optimized for CI/CD environments.
| Back | FazBrowse Home | New Git URL |