add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -0,0 +1,20 @@
# in-toto-run
> 在执行供应链步骤时生成链接元数据。
> 更多信息:<https://in-toto.readthedocs.io/en/latest/command-line-tools/in-toto-run.html>。
- 标记一个 Git 仓库并签署生成的链接文件:
`in-toto-run -n {{tag}} --products {{.}} -k {{key_file}} -- {{git tag v1.0}}`
- 创建一个 tar 包将文件存储为材料tar 包作为产品:
`in-toto-run -n {{package}} -m {{project}} -p {{project.tar.gz}} -- {{tar czf project.tar.gz project}}`
- 为审查工作生成签名证明:
`in-toto-run -n {{review}} -k {{key_file}} -m {{document.pdf}} -x`
- 使用 Trivy 扫描镜像并生成链接文件:
`in-toto-run -n {{scan}} -k {{key_file}} -p {{report.json}} -- {{/bin/sh -c "trivy -o report.json -f json <IMAGE>"}}`