GithubHelp home page GithubHelp logo

github-actions-runner's Introduction

Docker Repository on Quay

github-actions-runner

Image for containerized github actions runner. Also see the Kubernetes operator.

Usage

In order to try mimic as much as possible what is done in the github-hosted runner project, we try to reuse their installer scripts.

So this image will allow you to use the installers from the official virtual-environments project.

But since the original project has been designed to be executed on real VM instead of Docker containers, some scripts can fail, like the ones who try to install snap packages (since snap can't run on Docker).

Here you can find the list of available installers.

Configurations

Github Actions Runner can be configured dynamically using env vars with the following prefix ACTIONS_RUNNER_INPUT_.

At the time of writing the configuration options are:

Config Options:
 --unattended           Disable interactive prompts for missing arguments. Defaults will be used for missing options
 --url string           Repository to add the runner to. Required if unattended
 --token string         Registration token. Required if unattended
 --name string          Name of the runner to configure (default 29b09814cbea)
 --runnergroup string   Name of the runner group to add this runner to (defaults to the default runner group)
 --labels string        Extra labels in addition to the default: 'self-hosted,Linux,X64'
 --work string          Relative runner work directory (default _work)
 --replace              Replace any existing runner with the same name (default false)

So if you want set custom labels you just need to export this env var: ACTIONS_RUNNER_INPUT_LABELS=foobar, 1234

Install packages

To run an installer script and its packages you can just simply run install-from-virtual-env <installer-file-name>. You can find some examples on the Dockerfile.

github-actions-runner's People

Contributors

andypanix avatar davidkarlsen avatar dependabot-preview[bot] avatar dependabot[bot] avatar mpv avatar paolomainardi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.