Skip to content

build(docker): pin the dhi.io base images by tag only - #33

Merged
leinardi merged 1 commit into
masterfrom
build/unpin-dhi-digests
Oct 4, 2026
Merged

leinardi merged 1 commit into
masterfrom
build/unpin-dhi-digests

Conversation

@leinardi

@leinardi leinardi commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Summary

dhi.io republishes its tags often to ship vulnerability fixes, and a tag@sha256 pin turned each of those into a Dependabot pull request. This keeps the tag pin (for example dhi.io/golang:1.26.8-alpine3.23-dev, dhi.io/static:20250419) and drops the digest, so a rebuild picks up the fixed bases.

  • deployments/docker/Dockerfile: the @sha256:… suffix is removed from every dhi.io FROM line, and the header comment explains the tag-only policy. The # syntax= frontend stays pinned by digest.
  • docs/release.md: the base images are described as pinned by tag, so a rebuild of the same commit uses whatever the tags point to at that time.

Verified: docker build -f deployments/docker/Dockerfile . succeeds and the pre-commit hooks pass on the changed files. No dhi.io/…@sha256 reference is left in the repo.

Pull request checklist

  • I am targeting the master branch
  • I have rebased this branch on top of the destination branch
  • I have executed make check locally before creating the commit and it has run successfully
  • I have performed a self-review of my own code
  • There are no WIP commits in this PR

Type of changes

  • 🐛 Bug fix
  • ✨ New feature
  • 🔧 Refactoring
  • 📜 Docs
  • 🧰 CI / tooling / infra
  • Other (describe in Summary)

dhi.io republishes its tags often to ship vulnerability fixes, and a
tag@sha256 pin turned each of those into a Dependabot pull request.
Keep the tag and drop the digest, so a rebuild picks up the fixed
bases. The Dockerfile frontend stays pinned by digest. Update the
release docs, AGENTS.md and the review skill to match.
@leinardi
leinardi merged commit f7a3421 into master Oct 4, 2026
9 checks passed
@leinardi
leinardi deleted the build/unpin-dhi-digests branch October 4, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant