Because the Docker solution is awaiting attention from the Github Actions team, this repository demonstrates a Github Runner via bash script on a Mac.
UPDATE: This does not work for containerised runs because Github Actions only supports container runs on Linux.
- Create a Github Personal Access Token with the Repo Scope. This will be used to generate a token to register a GithubRunner.
- If your Github Runner will talk to AWS, set up your AWS CLI and authenticate to your AWS account and store those credentials in the
default
profile. - Start the runner
You will be prompted for your
./go run <github-repo-url> <github username>
'host'
password. This is the Github Personal Access Token that you created in (1). - Trigger a pipeline in the
<github-repo-url>
and see it connect.