fix: use right tags

This commit is contained in:
Jason Song
2024-04-02 14:07:35 +08:00
parent 6ae611601a
commit f8dbef10c1
2 changed files with 21 additions and 21 deletions

View File

@@ -120,9 +120,9 @@ jobs:
IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }} IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }}
IMAGE_REVISION=${{ steps.meta.outputs.IMAGE_REVISION }} IMAGE_REVISION=${{ steps.meta.outputs.IMAGE_REVISION }}
tags: | tags: |
gitea/runner-images:ubuntu-slim-22.04 gitea/runner-images:ubuntu-22.04-slim
gitea/runner-images:ubuntu-slim-22.04-${{ steps.meta.outputs.IMAGE_VERSION }} gitea/runner-images:ubuntu-22.04-slim-${{ steps.meta.outputs.IMAGE_VERSION }}
gitea/runner-images:ubuntu-slim-latest gitea/runner-images:ubuntu-latest-slim
- name: Build and push slim 20.04 - name: Build and push slim 20.04
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
@@ -141,8 +141,8 @@ jobs:
IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }} IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }}
IMAGE_REVISION=${{ steps.meta.outputs.IMAGE_REVISION }} IMAGE_REVISION=${{ steps.meta.outputs.IMAGE_REVISION }}
tags: | tags: |
gitea/runner-images:ubuntu-slim-20.04 gitea/runner-images:ubuntu-20.04-slim
gitea/runner-images:ubuntu-slim-20.04-${{ steps.meta.outputs.IMAGE_VERSION }} gitea/runner-images:ubuntu-20.04-slim-${{ steps.meta.outputs.IMAGE_VERSION }}
release-full: release-full:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -2,7 +2,7 @@
Official docker images used by [act_runner](https://gitea.com/gitea/act_runner) to run workflows. Official docker images used by [act_runner](https://gitea.com/gitea/act_runner) to run workflows.
You can find the images on [Docker Hub](https://hub.docker.com/r/gitea/runner-images). You can find the images on [gitea/runner-images](https://hub.docker.com/r/gitea/runner-images).
Currently, we have not chosen to build the image ourselves, as [catthehacker/docker_images](https://github.com/catthehacker/docker_images) has done an excellent job of this. Currently, we have not chosen to build the image ourselves, as [catthehacker/docker_images](https://github.com/catthehacker/docker_images) has done an excellent job of this.
We don't need to reinvent the wheel. We don't need to reinvent the wheel.
@@ -18,11 +18,11 @@ We provide three kinds of images, "default", "slim" and "full".
Default images are based on `catthehacker/ubuntu:act-*`, 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. 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 | Version | | Tag | Base | Size | Version |
|-------------------------------------|----------------------------------|------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------| |------------------------------------------------------------------------------------------------------|----------------------------------|------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| `gitea/runner-images:ubuntu-latest` | `catthehacker/ubuntu:act-latest` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-latest?label=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-latest) | | [ubuntu-latest](https://hub.docker.com/r/gitea/runner-images/tags?name=ubuntu-latest&ordering=-name) | `catthehacker/ubuntu:act-latest` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-latest?label=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-latest) |
| `gitea/runner-images:ubuntu-22.04` | `catthehacker/ubuntu:act-22.04` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-22.04?label=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-22.04) | | [ubuntu-22.04](https://hub.docker.com/r/gitea/runner-images/tags?name=ubuntu-22.04&ordering=-name) | `catthehacker/ubuntu:act-22.04` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-22.04?label=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-22.04) |
| `gitea/runner-images:ubuntu-20.04` | `catthehacker/ubuntu:act-20.04` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-20.04?label=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-20.04) | | [ubuntu-20.04](https://hub.docker.com/r/gitea/runner-images/tags?name=ubuntu-20.04&ordering=-name) | `catthehacker/ubuntu:act-20.04` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-20.04?label=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-20.04) |
### Slim images ### Slim images
@@ -30,11 +30,11 @@ Slim images are based on `node:20-*-slim`.
They contain Node.js to run basic workflows and set up more development tools if needed. 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. Their size is much smaller, which is friendly to disk-space constrained runners.
| Tag | Base | Size | Version | | Tag | Base | Size | Version |
|------------------------------------------|-------------------------|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------| |----------------------------------------------------------------------------------------------------------------|-------------------------|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|
| `gitea/runner-images:ubuntu-latest-slim` | `node:20-bookworm-slim` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-slim-latest?label=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-slim-latest) | | [ubuntu-latest-slim](https://hub.docker.com/r/gitea/runner-images/tags?name=ubuntu-latest-slim&ordering=-name) | `node:20-bookworm-slim` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-latest-slim?label=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-latest-slim) |
| `gitea/runner-images:ubuntu-22.04-slim` | `node:20-bookworm-slim` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-slim-22.04?label=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-slim-22.04) | | [ubuntu-22.04-slim](https://hub.docker.com/r/gitea/runner-images/tags?name=ubuntu-22.04-slim&ordering=-name) | `node:20-bookworm-slim` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-22.04-slim?label=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-22.04-slim) |
| `gitea/runner-images:ubuntu-20.04-slim` | `node:20-bullseye-slim` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-slim-20.04?label=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-slim-20.04) | | [ubuntu-20.04-slim](https://hub.docker.com/r/gitea/runner-images/tags?name=ubuntu-20.04-slim&ordering=-name) | `node:20-bullseye-slim` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-20.04-slim?label=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-20.04-slim) |
### Full images ### Full images
@@ -42,8 +42,8 @@ Full images are based on `catthehacker/ubuntu:full-*`, which contains all tools
They have huge sizes, but are useful if you need to run workflows in a GitHub Actions compatible environment. They have huge sizes, but are useful if you need to run workflows in a GitHub Actions compatible environment.
Please note that full images support amd64 architecture only. Please note that full images support amd64 architecture only.
| Tag | Base | Size | Version | | Tag | Base | Size | Version |
|------------------------------------------|-----------------------------------|----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------| |----------------------------------------------------------------------------------------------------------------|-----------------------------------|----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|
| `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-full=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-latest-full) | | [ubuntu-latest-full](https://hub.docker.com/r/gitea/runner-images/tags?name=ubuntu-latest-full&ordering=-name) | `catthehacker/ubuntu:full-latest` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-latest-full?label-full=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-latest-full) |
| `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) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-22.04-full) | | [ubuntu-22.04-full](https://hub.docker.com/r/gitea/runner-images/tags?name=ubuntu-22.04-full&ordering=-name) | `catthehacker/ubuntu:full-22.04` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-22.04-full?label-full=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-22.04-full) |
| `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) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-20.04-full) | | [ubuntu-20.04-full](https://hub.docker.com/r/gitea/runner-images/tags?name=ubuntu-20.04-full&ordering=-name) | `catthehacker/ubuntu:full-20.04` | ![size](https://img.shields.io/docker/image-size/gitea/runner-images/ubuntu-20.04-full?label-full=size) | ![version](https://img.shields.io/docker/v/gitea/runner-images/ubuntu-20.04-full) |