Skip to content

🔒 chore(docker): pin distroless runtime image by digest - #21

Merged
konih merged 1 commit into
mainfrom
lane/dockerfile-digest-pin
Aug 12, 2026
Merged

🔒 chore(docker): pin distroless runtime image by digest#21
konih merged 1 commit into
mainfrom
lane/dockerfile-digest-pin

Conversation

@konih

@konih konih commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Pin gcr.io/distroless/static-debian12:nonroot to the live multi-arch index digest (Scorecard Pinned-Dependencies).
  • Add hack/test/dockerfile_pin_test.sh so a floating FROM tag fails task check.

Renovate already had origin/renovate/docker-images on an older index digest (f5b485e); this uses the current index sha256:1b7b9f0f0e0a1d2155f531db587cc48ec26aaf97ab64364225f5bf18a054e66a.

Test plan

  • bash hack/test/dockerfile_pin_test.sh red before pin, green after
  • task check green locally
  • CI green on this PR

Scorecard Pinned-Dependencies was the only remaining unpinned container
ref. Pin the multi-arch index digest and gate it so a floating tag cannot
land again.
@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud

Copy link
Copy Markdown

@konih
konih merged commit 0d0682e into main Aug 12, 2026
11 checks passed
@konih
konih deleted the lane/dockerfile-digest-pin branch August 12, 2026 23:03
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