Images like gitea/gitea:latest change without a commit, so nobody knows exactly what is running or when it changed. Pinning by digest makes every change visible in git, and Renovate keeps the pins up to date through PRs instead of silent pulls.
Enterprise practice: immutable references (tag@sha256:...) plus a dependency bot that proposes updates as reviewable PRs.
Create a renovate-bot Gitea user with its own token; store the token in OpenBao
Scheduled workflow (nightly) on runner-vm that runs a pinned Renovate version with platform: gitea and autodiscover filtered to kasun/homelab-*
renovate.json in both repos, extending config:recommended, docker:pinDigests and helpers:pinGitHubActionDigests
Cover Docker Compose stacks and image variables in Ansible (custom regex manager where needed)
Cover Helm chart versions and images in the Pulumi index.ts files with a regex manager and // renovate: datasource=helm depName=... registryUrl=... comments
Group minor/patch updates and enable the Dependency Dashboard issue
First result: PRs that pin gitea/gitea and all other :latest images to digests
Tools
Renovate (self-hosted), Gitea Actions.
Done when
Every image in both repos is referenced as tag@sha256:...
Renovate opens PRs for new versions, and the Dependency Dashboard lists everything it tracks
Portfolio evidence
Before/after diff of a compose file (:latest → tag@sha256)
Screenshot of the Dependency Dashboard and an update PR
Part of the security roadmap. Keep the evidence below for the write-up (README / blog post).
## Why
Images like `gitea/gitea:latest` change without a commit, so nobody knows exactly what is running or when it changed. Pinning by digest makes every change visible in git, and Renovate keeps the pins up to date through PRs instead of silent pulls.
**Enterprise practice:** immutable references (`tag@sha256:...`) plus a dependency bot that proposes updates as reviewable PRs.
Depends on kasun/homelab-ansible#18.
## Steps
- [ ] Create a `renovate-bot` Gitea user with its own token; store the token in OpenBao
- [ ] Scheduled workflow (nightly) on `runner-vm` that runs a pinned Renovate version with `platform: gitea` and `autodiscover` filtered to `kasun/homelab-*`
- [ ] `renovate.json` in **both** repos, extending `config:recommended`, `docker:pinDigests` and `helpers:pinGitHubActionDigests`
- [ ] Cover Docker Compose stacks and image variables in Ansible (custom regex manager where needed)
- [ ] Cover Helm chart versions and images in the Pulumi `index.ts` files with a regex manager and `// renovate: datasource=helm depName=... registryUrl=...` comments
- [ ] Group minor/patch updates and enable the Dependency Dashboard issue
- [ ] First result: PRs that pin `gitea/gitea` and all other `:latest` images to digests
## Tools
Renovate (self-hosted), Gitea Actions.
## Done when
- Every image in both repos is referenced as `tag@sha256:...`
- Renovate opens PRs for new versions, and the Dependency Dashboard lists everything it tracks
## Portfolio evidence
- [ ] Before/after diff of a compose file (`:latest` → `tag@sha256`)
- [ ] Screenshot of the Dependency Dashboard and an update PR
---
_Part of the security roadmap. Keep the evidence below for the write-up (README / blog post)._
claude-botBot
added this to the Security Roadmap 1: Secure container supply chain milestone 2026-12-03 04:39:32 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why
Images like
gitea/gitea:latestchange without a commit, so nobody knows exactly what is running or when it changed. Pinning by digest makes every change visible in git, and Renovate keeps the pins up to date through PRs instead of silent pulls.Enterprise practice: immutable references (
tag@sha256:...) plus a dependency bot that proposes updates as reviewable PRs.Depends on kasun/homelab-ansible#18.
Steps
renovate-botGitea user with its own token; store the token in OpenBaorunner-vmthat runs a pinned Renovate version withplatform: giteaandautodiscoverfiltered tokasun/homelab-*renovate.jsonin both repos, extendingconfig:recommended,docker:pinDigestsandhelpers:pinGitHubActionDigestsindex.tsfiles with a regex manager and// renovate: datasource=helm depName=... registryUrl=...commentsgitea/giteaand all other:latestimages to digestsTools
Renovate (self-hosted), Gitea Actions.
Done when
tag@sha256:...Portfolio evidence
:latest→tag@sha256)Part of the security roadmap. Keep the evidence below for the write-up (README / blog post).