fix(ci): Registry-Cache pro Branch und Gitea-kompatibles Manifest

- Cache-Tag pro Branch (buildcache-amd64-<branch>), damit sich main und Test-Branches nicht gegenseitig ueberschreiben
- cache-to mit image-manifest=true,oci-mediatypes=true (Gitea lehnt BuildKits Default-Cache-Manifest ab)
- AGENTS.md: Cache-Tag-Doku aktualisiert
This commit is contained in:
humocs-man committed 2026-11-04 19:01:48 +01:00
1 parent 23066c7831
commit e1c42f3828
2 files changed
+23 -7

No files matched your search

+6 -1
View File
@@ -112,7 +112,12 @@ currently has only `shellcheck`, so builds cannot be run here.)
- Tags: `main` → `stable`, `stable.YYYYMMDD`, `YYYYMMDD`; any other branch →
`test-<branch>` only (no dated variants).
- Secrets: `READONLY_AUTH_BASE64`, `REGISTRY`, `SIGNING_SECRET`, `RENOVATE_TOKEN`.
- Registry cache tag `buildcache-amd64-main` is shared across branches.
- Registry cache tag is branch-specific: `buildcache-amd64-main` for `main`,
`buildcache-amd64-<sanitized-branch>` for everything else. The branches use
different base images (Kinoite vs. bootc), so a shared tag would thrash the
cache. `cache-to` uses `image-manifest=true,oci-mediatypes=true` because Gitea
rejects BuildKit's default cache manifest (400 Bad Request) and would
otherwise ignore the cache on pull.
- The registry (`humocs-man.duckdns.org/humocs-man`) is private — pulls need auth.
- Renovate (`renovate.json`) runs nightly at 03:00 UTC via
`.gitea/workflows/renovate_v2.yml`. That workflow intentionally uses