Update ubuntu-latest to 24.04

This commit is contained in:
Lilian 2025-01-27 21:20:55 +01:00
parent 9ba49b1bb7
commit c49ae7b783
Signed by: lilian
SSH key fingerprint: SHA256:334IVJmdjX7QiiuJ4sii5B4d/GjievWr8cscDleLhSU
3 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@ This repository contains a few configuration files for the CTBK Forgejo Actions
We provide a few containers for you to use:
- `ubuntu-latest`: A container [provided by `catthehacker`](https://ghcr.io/catthehacker/ubuntu:act-22.04) that mostly mimics the GitHub `ubuntu-latest` runner. Use this if you simply want to run CI based on existing GitHub Actions configurations. While compatibility is not guaranteed (please read the [Forgejo Actions documentation](https://forgejo.org/docs/latest/user/actions/) either way), were certain it will just work in most cases.
- `ubuntu-latest`: A container [provided by `catthehacker`](https://ghcr.io/catthehacker/ubuntu:act-24.04) that mostly mimics the GitHub `ubuntu-latest` runner. Use this if you simply want to run CI based on existing GitHub Actions configurations. While compatibility is not guaranteed (please read the [Forgejo Actions documentation](https://forgejo.org/docs/latest/user/actions/) either way), were certain it will just work in most cases.
- `alpine`: The `alpine:latest` (aka. `edge`) container, which is the official Alpine container. Use this container if youre writing a new action. It is fast and small :)
- `alpine-latex`: An Alpine container with most TeX Live utilities preinstalled. This container is built from our [Containerfile](Containerfile.alpine-latex) once per week. Use this if you need to build LaTeX files (ideally with XeTeX) -- it saves a lot of CI time.

View file

@ -11,7 +11,7 @@ done
# extra container tags and pushes for things that we dont build, but need
podman tag data.forgejo.org/oci/alpine:latest git.ctbk.de/infra/alpine:latest
podman tag ghcr.io/catthehacker/ubuntu:act-22.04 git.ctbk.de/infra/ubuntu:act-22.04
podman tag ghcr.io/catthehacker/ubuntu:act-24.04 git.ctbk.de/infra/ubuntu:act-24.04
podman push git.ctbk.de/infra/alpine:latest
podman push git.ctbk.de/infra/ubuntu:act-22.04
podman push git.ctbk.de/infra/ubuntu:act-24.04

View file

@ -37,7 +37,7 @@ runner:
# The labels of a runner are used to determine which jobs the runner can run, and how to run them.
# If it's empty when registering, it will ask for inputting labels.
# Remember to delete .runner when you modify this, otherwise the new labels will not get applied!
labels: ["ubuntu-latest:docker://git.ctbk.de/infra/ubuntu:act-22.04", "alpine:docker://git.ctbk.de/infra/alpine:latest", "alpine-latex:docker://git.ctbk.de/infra/alpine-latex:latest"]
labels: ["ubuntu-latest:docker://git.ctbk.de/infra/ubuntu:act-24.04", "alpine:docker://git.ctbk.de/infra/alpine:latest", "alpine-latex:docker://git.ctbk.de/infra/alpine-latex:latest"]
cache:
# Enable cache server to use actions/cache.