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:
1 parent
460bdbe380
commit
d1c7c55700
7 files changed
+43
-10
No files matched your search
@@ -11,8 +11,10 @@ runner:
|
||||
# shutdown_timeout lets running jobs finish when the runner stops, as it
|
||||
# does before an update reboots the machine.
|
||||
shutdown_timeout: 1h
|
||||
# labels names the job image of jobs with runs-on: linux, which
|
||||
# gitea-runner.service loads at boot.
|
||||
labels:
|
||||
- linux:docker://quay.io/fedora/fedora:45
|
||||
- linux:docker://localhost/runneros-job
|
||||
container:
|
||||
# privileged lets jobs build OS images, as this repository's own workflow
|
||||
# does. A job can then take over the machine, so only run jobs you trust.
|
||||
|
||||
Reference in new issue
Block a user