[DOC]: Pin docker image with hash#846
Conversation
There was a problem hiding this comment.
Pull request overview
This PR increases supply-chain security for the documentation build container by pinning the node:20-alpine base image to an immutable SHA256 digest in docs/.docker/Dockerfile, aligning with the broader OpenSSF hardening work referenced in the PR description.
Changes:
- Pin
node:20-alpinebase image to a specificsha256digest in the docs Antora Dockerfile.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
michalharakal
left a comment
There was a problem hiding this comment.
Tnank you @MacOS
Note: the failing preview-documentation check is not related to this change — it's a known limitation where fork PRs get a read-only GITHUB_TOKEN, so the "post preview comment" step can't run. Docs build fine and the artifact uploads correctly. Safe to ignore here; a fix to skip that step on fork PRs is coming separately.
This
PRpins the docker image used indocswith a hash to increase security.The OpenSSF Score should increase after this
PRhas been merged.The
PRis linked to #594 and #814 and #815. I did not open an issue for thisPRbecause the change is a little to small, and #815 is similar in spirit as it pins actions with the hash.