Run jobs in our own job image
os / os (push) Failing after 2m42s

mkosi.images/job/ builds an OCI image with git, Node.js 26 and dnf, and
the OS ships it in /usr, so it is signed and updated with the OS.
gitea-runner.service loads it at boot instead of pulling Fedora, and
JavaScript actions work without installing Node.js in each job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-22 17:48:04 +00:00
1 parent 460bdbe380
commit d1c7c55700
7 files changed
+43 -10

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
# mkosi.conf builds the job image, the container that jobs with
# runs-on: linux run in. It is an OCI image, which the OS ships in
# /usr/lib/runneros/job (ExtraTrees= in /mkosi.conf), so it is signed and
# updated with the OS. gitea-runner.service loads it into podman at boot.
#
# Packages holds what common actions need. Jobs install more with dnf.
[Output]
Format=oci
Output=job
[Content]
WithDocs=no
Packages=
dnf5 # Jobs install what else they need.
fedora-repos # dnf needs to know the repositories.
git-core # Checkouts are done with git.
nodejs26 # JavaScript actions run on node.
curl
tar # actions/cache and artifacts use these.
gzip
zstd
findutils