lyrathorpe 29706867cd
renovate / renovate (push) Successful in 58s
feat: authenticate Renovate to the private container registry (#54)
Let the self-hosted Renovate bot authenticate to the `code.emmathe.dev` container registry so it can read and update digests for the **private** images pinned in the Terraform repo — `whyisthedlrshut.today` (dlr) and `docs-site`. Without this, Renovate can't reach those images and the digests never get bumped (they stay pinned but stale).

- Adds a `hostRules` entry: `matchHost: code.emmathe.dev`, `hostType: docker`, `username: renovate-bot`, `password: process.env.RENOVATE_REGISTRY_TOKEN`.
- Scoped to the docker datasource only — the existing Gitea platform/git auth is untouched.
- Digest updates already `automerge` (packageRules) and `pinDigests` is on (config:best-practices), so once auth works these images auto-bump.

**Owner action:** create the secret and expose it to the bot as the env var **`RENOVATE_REGISTRY_TOKEN`** — a Gitea PAT (user `renovate-bot`, or adjust the `username` in the rule) with **`read:package`** scope. That's the only thing needed.

The images are matched by the Terraform repo's existing `customManager` (docker datasource on `variables.tf`); no change needed there.

Reviewed-on: #54
2026-07-06 14:46:35 +01:00
S
Description
No description provided
103 KiB
Languages
JavaScript 100%