Skip to content

Container image of actions/runner for RunnerScaleSets with Dockerd

License

Notifications You must be signed in to change notification settings

quipper/actions-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quipper/actions-runner build

This is a container image extending actions/runner.

For maintainability and security,

  • Align to the official image
  • Keep the script simple
  • Do not add extra packages

Features

We extend the official image for the following issues:

  • Run both runner and Dockerd in same container for the resource efficiency of Kubernetes nodes. This image starts Dockerd under docker-init.
  • Add some essential packages such as git
  • Support Ubuntu 20.04 runner for backward compatibility
  • Run a job on both amd64 and arm64 nodes. This repository provides a multi-architectures image. (community#56720) (resolved by actions/runner#2601)
  • Support ruby/setup-ruby which does not support Debian. This image is based on Ubuntu. (actions-runner-controller#2610) (resolved by actions/runner#2651)
  • Add a hosted tool cache for actions/setup-node (#160) (resolved by actions/setup-node#857)
  • Automatically set the cloud-local APT sources to reduce time of apt-get (#432)

We are looking for the official supports, but need to maintain our custom image for now.

Release

When a new version of actions/runner is released,

  1. Renovate creates a pull request to update a dependency
  2. Renovate automatically merges it
  3. GitHub Actions automatically creates a release corresponding to the runner version

Here is the versioning policy.

  • Use same version as the upstream, such as 2.304.0
  • If we have added a change, increment the patch version. For example, if the upstream is 2.304.0, we will create 2.304.1

Contributions

This is an open source project. Feel free to open issues and pull requests for improving code and documents.