Open chanyshev opened 2 years ago
This is how I run it with plain Docker. Just make sure to set the correct environment variables.
docker run -it --name my-runner \
-e RUNNER_LABELS=selfhosted,ubuntu-docker \
-e RUNNER_NAME=selfhosted-ubuntu-docker \
-e GITHUB_ACCESS_TOKEN=«my-pat-with-sufficient-permissions-for-repo» \
-e RUNNER_REPOSITORY_URL=https://github.com/«my-org»/«my-repo» \
-v /var/run/docker.sock:/var/run/docker.sock \
tcardonne/github-runner:ubuntu-20.04
You might get the 404 because the token does not give access to the given private repo.
How does your docker-compose look like?
I run using docker-compose and get an error.