Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.
joakimhellumPublic archive

About

(Experimental) Docker images for GitHub Actions self-hosted runner.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Docker images for GitHub Actions runner

Docker Cloud Automated build Docker Cloud Build Status

(Experimental) Docker images for GitHub Actions self-hosted runner.

⚠️ Warning: Using self-hosted runners with public repositories is not recommended. Forks of your public repository can potentially run dangerous code on your self-hosted runner by creating a pull request that executes the code in a workflow. For more information, see About self-hosted runners.

Supported tags and respective Dockerfile links

Environment variables

Name Description
REPO_URL Required. The URL of the repository.
GITHUB_TOKEN Required. The runner registration token.
RUNNER_NAME The name of the runner. Default: $(hostname).
WORK_FOLDER The name of the work folder. Default: _work.

How to use this image

Start runner

$ docker run --name actions-runner \
  -e REPO_URL=https://github.com/octocat/hello-world \
  -e GITHUB_TOKEN=AIHLTGQK4JJJ7G4RRQ5GPVJJGJ5QL \
  joakimhellum/actions-runner:ubuntu-18.04

Run once

$ docker run --name actions-runner \
  -e REPO_URL=https://github.com/octocat/hello-world \
  -e GITHUB_TOKEN=AIHLTGQK4JJJ7G4RRQ5GPVJJGJ5QL \
  joakimhellum/actions-runner:ubuntu-18.04 --once

Remove runner from repository

$ docker stop actions-runner

About

(Experimental) Docker images for GitHub Actions self-hosted runner.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages