feat: support "full"

This commit is contained in:
Jason Song
2024-04-01 18:30:26 +08:00
parent 19c986a423
commit a6edeed90b
3 changed files with 71 additions and 2 deletions

View File

@@ -11,11 +11,11 @@ So, we build images from `catthehacker/ubuntu:*` or `node:*`, then install addit
## Images
We provide two kinds of images, "default" and "slim" (and maybe more like "full" in the future).
We provide three kinds of images, "default", "slim" and "full".
### Default images
Default images are based on `catthehacker/ubuntu:*`, and are used by default in act_runner.
Default images are based on `catthehacker/ubuntu:act-*`, and are used by default in act_runner.
They contain most of the tools needed to run workflows and are always recommended if your runner is not disk-space constrained.
| Tag | Base | Size |
@@ -35,3 +35,14 @@ Their size is much smaller, which is friendly to disk-space constrained runners.
| `gitea/runner-images:ubuntu-latest-slim` | `node:20-bookworm` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-latest-slim?label=size) |
| `gitea/runner-images:ubuntu-22.04-slim` | `node:20-bookworm` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-22.04-slim?label=size) |
| `gitea/runner-images:ubuntu-20.04-slim` | `node:20-bullseye` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-20.04-slim?label=size) |
### Full images
Full images are based on `catthehacker/ubuntu:full-*`, which contains all tools provided by GitHub Actions runners.
They have huge sizes, but are useful if you need to run workflows in a GitHub Actions compatible environment.
| Tag | Base | Size |
|------------------------------------------|-----------------------------------|-----------------------------------------------------------------------------------------------------|
| `gitea/runner-images:ubuntu-latest-full` | `catthehacker/ubuntu:full-latest` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-latest-full?label=size) |
| `gitea/runner-images:ubuntu-22.04-full` | `catthehacker/ubuntu:full-22.04` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-22.04-full?label=size) |
| `gitea/runner-images:ubuntu-20.04-full` | `catthehacker/ubuntu:full-20.04` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-20.04-full?label=size) |