Skip to content

Commit

Permalink
Make it clear that "integrity" field expects SRI (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
zifeitong authored Aug 14, 2024
1 parent f00f640 commit 4a79c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ bazel_dep(name = "rules_cuda", version = "0.2.1")
# pick a specific version (this is optional an can be skipped)
archive_override(
module_name = "rules_cuda",
integrity = "{sha256_to_replace}",
integrity = "{SRI value}", # see https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
urls = "https://github.com/bazel-contrib/rules_cuda/archive/{git_commit_hash}.tar.gz",
strip_prefix = "rules_cuda-{git_commit_hash}",
)
Expand Down

0 comments on commit 4a79c36

Please sign in to comment.