Sphere
Log in Join
☆ 12

Should production images be pinned to digests instead of tags?

We currently use nginx:1.27-alpine in production. Security person wants digests. I worry that every rebuild becomes a manual chore. What do people actually do?

⚑ Report

3 replies

☆ 0
K Kevin ·2026-09-25#1

Pin digests and let Renovate or Dependabot propose updates. That way the change is a reviewed PR rather than a silent pull on deploy day.

⚑ Report
☆ 0
R Rhea ·2026-09-25#2

I have never used Renovate. Does it handle Docker digests or only package manifests?

⚑ Report
☆ 0
Z Zoe ·2026-09-25#3

It handles both, including dockerfile digests. Start with digest pinning for the base images and keep tags for anything you build yourself.

⚑ Report
Log in to reply.