No repo secrets: unsigned image, updates as release assets, job image built by mkosi
os / os (push) Successful in 3m51s
os / os (push) Successful in 3m51s
The workflow's own token can't write packages and repo secrets can't be set, so: build unsigned, publish the sysupdate files as assets of the "latest" release, and build the job image with mkosi and ship it in /usr instead of pushing it to a registry. Partition UUIDs are now part of the update file names, so updated /usr partitions keep the UUIDs usrhash= expects. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
16 files changed
+107
-108
No files matched your search
@@ -9,8 +9,8 @@ runner:
|
||||
# podman in jobs: the job's own storage plus the shared base images (see volumes below).
|
||||
CONTAINERS_STORAGE_CONF: /usr/lib/gitea-runner/job/storage.conf
|
||||
labels:
|
||||
# Our job image (job/Containerfile): git, node, skopeo and podman.
|
||||
- "linux:docker://git.plabble.org/job79/git-runner-mkosi-job:latest"
|
||||
# Our job image (mkosi.images/job), loaded from /usr at boot by gitea-runner-images.service.
|
||||
- "linux:docker://localhost/git-runner-job:latest"
|
||||
# Plain Fedora; our own build workflows use it, so a broken job image can't block its own fix.
|
||||
- "fedora:docker://quay.io/fedora/fedora:45"
|
||||
container:
|
||||
@@ -25,7 +25,8 @@ container:
|
||||
- /var/lib/containers/base-images:/var/lib/base-images:ro
|
||||
# podman storage settings for jobs (see the file).
|
||||
- /usr/lib/gitea-runner/job:/usr/lib/gitea-runner/job:ro
|
||||
force_pull: true
|
||||
# Images are pulled when missing: our job image never is, fedora once per boot.
|
||||
force_pull: false
|
||||
cache:
|
||||
# Jobs reach the cache on the host through their bridge; the firewall allows this port.
|
||||
host: host.containers.internal
|
||||
|
||||
Reference in new issue
Block a user