We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I run using docker-compose and get an error.
runner_1 | curl: (22) The requested URL returned error: 404 runner_1 | Unrecognized command-line input arguments: 'token'. For usage refer to: .\config.cmd --help or ./config.sh --help runner_1 | runner_1 | -------------------------------------------------------------------------------- runner_1 | | ____ _ _ _ _ _ _ _ _ | runner_1 | | / ___(_) |_| | | |_ _| |__ / \ ___| |_(_) ___ _ __ ___ | runner_1 | | | | _| | __| |_| | | | | '_ \ / _ \ / __| __| |/ _ \| '_ \/ __| | runner_1 | | | |_| | | |_| _ | |_| | |_) | / ___ \ (__| |_| | (_) | | | \__ \ | runner_1 | | \____|_|\__|_| |_|\__,_|_.__/ /_/ \_\___|\__|_|\___/|_| |_|___/ | runner_1 | | | runner_1 | | Self-hosted runner registration | runner_1 | | | runner_1 | -------------------------------------------------------------------------------- runner_1 | runner_1 | # Authentication runner_1 | runner_1 | Invalid configuration provided for token. Terminating unattended configuration. runner_1 | .path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin runner_1 | Starting Runner listener with startup type: service runner_1 | Started listener process runner_1 | Started running service runner_1 | An error occurred: Not configured runner_1 | Runner listener exited with error code 2 runner_1 | Runner listener exit with retryable error, re-launch runner in 5 secon``` cat .env ```RUNNER_REPOSITORY_URL=https://github.com/company-name/repo-name # or RUNNER_ORGANIZATION_URL=https://github.com/your-organization GITHUB_ACCESS_TOKEN=ghp_******```
The text was updated successfully, but these errors were encountered:
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?
Sorry, something went wrong.
No branches or pull requests
I run using docker-compose and get an error.
The text was updated successfully, but these errors were encountered: