You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
805 B
805 B
Build the Docker
# This is in case you want to build the Docker with the token embedded
# Require to change the Dockerfile
# _GITHUB_TOKEN=<your_github_runner_token>
# docker build --build-arg RUNNER_TOKEN=${_GITHUB_TOKEN} -t github-runner .
docker build -t github-runner .
Run the runner
you can spawn as many runner as you want just changing the name
_GITHUB_TOKEN=<your_github_runner_token>
_RUNNER_NAME=runner_X
docker run -it --rm github-runner ${_GITHUB_TOKEN} ${_RUNNER_NAME}
note:
_GITHUB_TOKEN=<your_github_runner_token>
./config.sh \
--url https://github.com/ceccopierangiolieugenio/pyTermTk \
--work _work --replace \
--runnergroup Default \
--name test-sh \
--token ${_GITHUB_TOKEN} \
--labels "self-hosted,Linux,ARM64"