Sign inSign up

alaintxu/github-action-runner

By alaintxu

•Updated about 1 year ago

Github action runner

Image
Integration & delivery
0

730

alaintxu/github-action-runner repository overview

Docker Compose example:

services:
  github-runner:
    image: alaintxu/github-action-runner:latest
    container_name: github_runner
    user: "1000:984"  # runner:docker - use the docker group ID from host
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock     # Mount Docker socket for running Docker commands
    environment:
      - GITHUB_URL=${GITHUB_URL}
      - GITHUB_RUNNER_TOKEN=${GITHUB_RUNNER_TOKEN}
      - RUNNER_NAME=${RUNNER_NAME:-github-runner}
      - RUNNER_LABELS=self-hosted,docker
    restart: unless-stopped

.env example:

GITHUB_URL=https://github.com/<gh_username>/<gh_repo_name>
GITHUB_RUNNER_TOKEN=ABCDEF12GH34IJK5LMNOPQRS67TUV

Tag summary

Content type

Image

Digest

sha256:a7c1bd0f8…

Size

639.2 MB

Last updated

about 1 year ago

docker pull alaintxu/github-action-runner