Build the OS on our own job image

The os workflow now runs on linux, our job image, instead of plain Fedora; it
already has git, so only mkosi is installed. If a change breaks the job image,
build the fix locally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-14 22:43:54 +01:00
1 parent 7df16dce11
commit 607987ebbd
3 files changed
+6 -5

No files matched your search

+4 -3
View File
@@ -2,7 +2,8 @@
#
# Builds the OS image, with the job image inside, and publishes it as version "latest" of the
# generic package git-runner, where runners fetch their updates (mkosi.extra/usr/lib/sysupdate.d).
# Runs on every push, weekly for Fedora updates, and by hand.
# Runs on every push, weekly for Fedora updates, and by hand, on our own job image: if a change
# breaks it, build the fix locally (see README.md).
name: os
on:
push:
@@ -13,13 +14,13 @@ on:
jobs:
os:
runs-on: fedora
runs-on: linux
env:
PKG: ${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/git-runner/latest
AUTH: "Authorization: token ${{ github.token }}"
steps:
- name: Install tools
run: dnf install -yq git-core mkosi
run: dnf install -yq mkosi
- name: Check out
uses: builtin:checkout
- name: Build