add new chinese translations
This commit is contained in:
20
pages.zh/common/crane-index-filter.md
Normal file
20
pages.zh/common/crane-index-filter.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# crane 索引过滤器
|
||||
|
||||
> 通过基于平台的过滤来修改远程索引。
|
||||
> 更多信息:<https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_index_filter.md>。
|
||||
|
||||
- 修改远程索引:
|
||||
|
||||
`crane index filter`
|
||||
|
||||
- 指定要保留的基础平台,以 os/arch{{/variant}}{{:osversion}}{{,<platform>}} 的形式:
|
||||
|
||||
`crane index filter --platform {{platform1 platform2 ...}}`
|
||||
|
||||
- 应用到结果图像的标签:
|
||||
|
||||
`crane index filter {{-t|--tags}} {{tag_name}}`
|
||||
|
||||
- 显示帮助信息:
|
||||
|
||||
`crane index filter {{-h|--help}}`
|
Reference in New Issue
Block a user