Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.33 KB

README.md

File metadata and controls

35 lines (29 loc) · 1.33 KB

docker-github-actions-runner

  • latest
  • 2.163.1-ubuntu18.04

Find URL and TOKEN in repository Settings -> Actions -> Add runner.

Example

docker run -it --rm \
    -e URL=https://github.com/swaglive/docker-github-actions-runner \
    -e TOKEN=MYTOKEN \
    -e NAME=rammus-mbp \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v $PWD/_token:/home/runner/_token \
    --name swaglive/runner swaglive/github-runner

Debug with swaglive/github-runner

docker run -it --rm \
    -e URL=https://github.com/swaglive/docker-github-actions-runner \
    -e TOKEN=MYTOKEN \
    -e NAME=rammus-mbp \
    --entrypoint /bin/bash \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v $PWD/_token:/home/runner/_token \
    --name runner swaglive/github-runner

runner@a42e26ab99b5:~$ /entrypoint.sh 

Reference