Docker image of GitHub Runner to have many as want self-hosted in public/private repository
1.1K
Use this Docker container to run as many Github runners as you need. Is update everyday so always have the new version of Github runner.
Just check: https://github.com/RedxLus/docker-self-hosted-runner and take a look in this repository to the dirs MAIN , SELENIUM-CHROME and SELENIUM-CHROME-MYSQL to check each Dockerfile.
Now you can pull the image from the DockerHub:
docker pull redxlus/docker-self-hosted-runner:latest
Or if want specific version:
docker pull redxlus/docker-self-hosted-runner:2.292.0
Or if want the version of GitHub Runner with Chrome + ChromeDriver + Selenium to use for QA:
docker pull redxlus/docker-self-hosted-runner:2.292.0-selenium-chrome
Or if want the version of GitHub Runner with Chrome + ChromeDriver + Selenium + client MySQL to use for QA:
docker pull redxlus/docker-self-hosted-runner:2.292.0-selenium-chrome-mysqlclient
Now to run MUST specify 2 vars: PERSONAL_ACCESS_TOKEN and REPO.
So when do a docker run must look like:
docker run -e PERSONAL_ACCESS_TOKEN="ghp_23123122313123123" -e REPO="RedxLus/docker-self-hosted-runner" redxlus/docker-self-hosted-runner:latest
If want to use in a Docker Compose. Change replicas with the number of Docker Github Runner you want:
version: '3'
services:
runner:
deploy:
replicas: 40
image: redxlus/docker-self-hosted-runner:latest
restart: always
environment:
- PERSONAL_ACCESS_TOKEN=ghp_23123122313123123
- REPO=RedxLus/docker-self-hosted-runner
Content type
Image
Digest
sha256:4f6370862…
Size
383.2 MB
Last updated
over 3 years ago
docker pull redxlus/docker-self-hosted-runner