Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 1.08 KB

README.md

File metadata and controls

17 lines (14 loc) · 1.08 KB

Github Runner Bash

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.

only-on-linux.png

Quickstart

  1. Create a Github Personal Access Token with the Repo Scope. This will be used to generate a token to register a GithubRunner. github-repo-scope
  2. 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.
  3. Start the runner
    ./go run <github-repo-url> <github username>
    You will be prompted for your 'host' password. This is the Github Personal Access Token that you created in (1).
  4. Trigger a pipeline in the <github-repo-url> and see it connect.