feat: use slim node
This commit is contained in:
@@ -88,7 +88,7 @@ jobs:
|
||||
push: true
|
||||
no-cache: true
|
||||
build-args: |
|
||||
BASE_IMAGE_TAG=20-bookworm
|
||||
BASE_IMAGE_TAG=20-bookworm-slim
|
||||
IMAGE_VERSION=${{ steps.meta.outputs.IMAGE_VERSION }}
|
||||
IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }}
|
||||
IMAGE_REVISION=${{ steps.meta.outputs.IMAGE_REVISION }}
|
||||
@@ -109,7 +109,7 @@ jobs:
|
||||
push: true
|
||||
no-cache: true
|
||||
build-args: |
|
||||
BASE_IMAGE_TAG=20-bullseye
|
||||
BASE_IMAGE_TAG=20-bullseye-slim
|
||||
IMAGE_VERSION=${{ steps.meta.outputs.IMAGE_VERSION }}
|
||||
IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }}
|
||||
IMAGE_REVISION=${{ steps.meta.outputs.IMAGE_REVISION }}
|
||||
|
||||
12
README.md
12
README.md
@@ -26,15 +26,15 @@ They contain most of the tools needed to run workflows and are always recommende
|
||||
|
||||
### Slim images
|
||||
|
||||
Slim images are based on `node:20-bookworm`.
|
||||
Slim images are based on `node:20-*-slim`.
|
||||
They contain Node.js to run basic workflows and set up more development tools if needed.
|
||||
Their size is much smaller, which is friendly to disk-space constrained runners.
|
||||
|
||||
| Tag | Base | Size | Version |
|
||||
|------------------------------------------|--------------------|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|
|
||||
| `gitea/runner-images:ubuntu-latest-slim` | `node:20-bookworm` |  |  |
|
||||
| `gitea/runner-images:ubuntu-22.04-slim` | `node:20-bookworm` |  |  |
|
||||
| `gitea/runner-images:ubuntu-20.04-slim` | `node:20-bullseye` |  |  |
|
||||
| Tag | Base | Size | Version |
|
||||
|------------------------------------------|-------------------------|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|
|
||||
| `gitea/runner-images:ubuntu-latest-slim` | `node:20-bookworm-slim` |  |  |
|
||||
| `gitea/runner-images:ubuntu-22.04-slim` | `node:20-bookworm-slim` |  |  |
|
||||
| `gitea/runner-images:ubuntu-20.04-slim` | `node:20-bullseye-slim` |  |  |
|
||||
|
||||
### Full images
|
||||
|
||||
|
||||
Reference in New Issue
Block a user