Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.9 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.9 KB

actions-runner-images-lxd

actions-runner-images-lxd build a runner image for LXD.

actions/runner-images is source code of GitHub-hosted Runner in GitHub Actions.

Workflows

Build Build Status
Ubuntu 20.04 nightly build nightly build
Ubuntu 22.04 nightly build nightly build
Ubuntu 24.04 nightly build nightly build

How to generate lxd.patch

## Clone original repository
$ git clone https://github.com/actions/runner-images

## Apply lxd.patch
$ cp ${path_to_whywaita/actions-runner-images-lxd}/lxd.patch .
$ patch -p1 < lxd.patch

## Modify files
<snip>

## Check diff
$ git diff
On branch main
Your branch is up to date with 'origin/main'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   images/linux/scripts/installers/configure-environment.sh
        modified:   images/linux/scripts/installers/dotnetcore-sdk.sh
        modified:   images/linux/scripts/installers/homebrew.sh
        modified:   images/linux/ubuntu2004.json

## Generate `lxd.patch`
$ git diff HEAD > lxd.patch