Sign inSign up

torvald/github-actions

By torvald

โ€ขUpdated over 1 year ago

Image
Integration & delivery
0

142

torvald/github-actions repository overview

โ ๐Ÿณ GitHub Actions Self-Hosted Runner for ARM64 (Raspberry Pi)

This image provides a self-hosted GitHub Actions runner compatible with ARM64 architectures, such as the Raspberry Pi 4/5. It is based on debian:bullseye-slim for maximum compatibility with the official GitHub runner binaries.

โ โœ… Features

โœ… Fully compatible with ARM64 (Raspberry Pi OS, Debian, etc.)

๐Ÿง Based on debian:bullseye-slim with minimal dependencies

โš™๏ธ Auto-registers to your GitHub repository

โ™ป๏ธ Gracefully unregisters on container stop

๐Ÿ”’ Runs as non-root user (runner)

โ ๐Ÿš€ Quick Start

โ ๐Ÿงพ 1. Generate a runner token

Go to your repository: Settings โ†’ Actions โ†’ Runners โ†’ New self-hosted runner

โ ๐Ÿณ 2. Use docker-compose
version: "3.8"
services:
  github-runner:
    image: <your-dockerhub-username>/github-runner:latest
    environment:
      - REPO_URL=https://github.com/YourOrg/YourRepo
      - RUNNER_TOKEN=your_runner_token
    restart: unless-stopped

Launch it:

docker compose up -d

โ ๐Ÿ› ๏ธ Environment Variables

VariableDescriptionRequired
REPO_URLGitHub repository URL (e.g., https://github.com/your/repoโ )โœ… Yes
RUNNER_TOKENGitHub runner registration tokenโœ… Yes

โ ๐Ÿ“ฆ Built With

GitHub Actions Runner

Debian Slim (Bullseye)

Supports Git, curl, ca-certificates, libicu

โ ๐Ÿงผ Cleanup on Stop

On shutdown, the container automatically removes itself from GitHub to avoid orphaned runners.

โ โš ๏ธ Notes

โŒ Not compatible with Alpine Linux due to glibc requirements.

๐Ÿ’พ Use a persistent volume if you want to reuse the same runner name/config.

Tag summary

Content type

Image

Digest

sha256:23036e6dcโ€ฆ

Size

245 MB

Last updated

over 1 year ago

docker pull torvald/github-actions