ITADN
kubernetes-loong64/actions-runner-loong64
kubernetes-loong64/actions-runner-loong64 · 文件
文件最后提交记录最后更新时间
README.md

GitHub Actions Runner for LoongArch (loong64)

English | 中文

Prebuilt Docker images for running GitHub Actions self-hosted runners on LoongArch (loong64) machines.

Overview

This project provides ready-to-use Docker images that bundle the GitHub Actions runner binary compiled for LoongArch. Images are built on Debian 14 (lcr.loongnix.cn/debian:14) with two variants:

VariantBase ImageDescription
debianlcr.loongnix.cn/debian:14Full Debian image
debian-slimlcr.loongnix.cn/debian:14-slimMinimal Debian image

Docker Images

Prebuilt images are published to the following registries:

RegistryImage Path
Docker Hubkubernetesloong64/actions-runner-loong64
Alibaba Cloud (Qingdao)registry.cn-qingdao.aliyuncs.com/kubernetesloong64/actions-runner-loong64

Image Tags

# Docker Hub
kubernetesloong64/actions-runner-loong64:v2.336.0-debian
kubernetesloong64/actions-runner-loong64:v2.336.0-debian-slim

# Alibaba Cloud (Qingdao)
registry.cn-qingdao.aliyuncs.com/kubernetesloong64/actions-runner-loong64:v2.336.0-debian
registry.cn-qingdao.aliyuncs.com/kubernetesloong64/actions-runner-loong64:v2.336.0-debian-slim

Load from Release Artifacts

Each release includes .tar archives you can download and load directly:

curl -LO https://github.com/kubernetes-loong64/actions-runner-loong64/releases/download/release-loong64-v2.336.0/actions-runner-loong64-v2.336.0-debian.tar
docker load -i actions-runner-loong64-v2.336.0-debian.tar

Quick Start

Using Docker Compose

services:
  actions-runner:
    # Or use Docker Hub: kubernetesloong64/actions-runner-loong64:v2.336.0-debian-slim
    image: registry.cn-qingdao.aliyuncs.com/kubernetesloong64/actions-runner-loong64:v2.336.0-debian-slim
    container_name: actions-runner
    restart: always
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      GITHUB_TOKEN: ghp_xxxxxxxxxxxxxxxxxxxx
      GITHUB_URL: https://github.com/your-org/your-repo
      RUNNER_NAME: my-loong64-runner

Then start the runner:

docker compose up -d

Using docker run

docker run -d \
  --name actions-runner \
  --restart always \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -e GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxx \
  -e GITHUB_URL=https://github.com/your-org/your-repo \
  -e RUNNER_NAME=my-loong64-runner \
  registry.cn-qingdao.aliyuncs.com/kubernetesloong64/actions-runner-loong64:v2.336.0-debian-slim
# Or use Docker Hub image:
# docker run -d ... kubernetesloong64/actions-runner-loong64:v2.336.0-debian-slim

Environment Variables

VariableRequiredDefaultDescription
GITHUB_TOKENYes (first run)GitHub personal access token or runner registration token
GITHUB_URLYes (first run)https://github.comURL of the GitHub repository or organization
RUNNER_NAMENo$(hostname)Name for this runner instance
RUNNER_WORKDIRNo/home/runner/_workWorking directory for job execution
RUNNER_LABELSNoExtra labels to assign (comma-separated)
RUNNER_GROUPNoRunner group to join
EPHEMERALNoSet to any value to run in ephemeral mode (runner deregisters after a single job)
RUNNER_ONCENoSet to any value to exit after completing one job
ProjectDescription
loong64/runnerGitHub Actions Runner binaries for LoongArch
kubernetes-loong64/cli-loong64Docker CLI built for LoongArch
loongson-community/actions-runner-loong64Community-maintained LoongArch actions-runner

Verifying Releases

gpg --keyserver keys.openpgp.org --recv-keys FCF8724722CCBF9F51B1FBE376532BE7E3013105
echo "FCF8724722CCBF9F51B1FBE376532BE7E3013105:6:" | gpg --import-ownertrust

Or download the key file manually and import it:

gpg --import /tmp/xxx

License

Apache License 2.0