To list the version tags for the root OCI image in a registry, run:
gdcloud artifacts list-versions REGISTRY_NAME
可选标志
--artifact string Get versions for a different artifact from the registry. (default "gpc-system/gpc-oci")
--insecure Allow pulling from the registry, and establishing a connection to the server, even for server connections otherwise considered insecure.
--latest Return only the latest version tag found. (default true)
--single-manifest-repo List the manifests in a specified registry, where REGISTRY_NAME is the reference for the registry.
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003eThe \u003ccode\u003egdcloud artifacts list-versions\u003c/code\u003e command retrieves version tags for the root OCI image found in a specified registry.\u003c/p\u003e\n"],["\u003cp\u003eUse \u003ccode\u003egdcloud artifacts list-versions REGISTRY_NAME\u003c/code\u003e to display version tags.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--artifact\u003c/code\u003e flag allows users to specify a different artifact than the default "gpc-system/gpc-oci".\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--insecure\u003c/code\u003e flag enables pulling from insecure registries.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--latest\u003c/code\u003e flag, which is enabled by default, returns only the most recent version tag.\u003c/p\u003e\n"]]],[],null,["# gdcloud artifacts list-versions\n\nNAME\n----\n\ngdcloud artifacts list-versions - List version tags for the root OCI image in a registry. Version tags can be found at gpc-system/gpc-oci.\n\nSYNOPSIS\n--------\n\n gdcloud artifacts list-versions REGISTRY_NAME [flags]\n\n### EXAMPLES\n\n To list the version tags for the root OCI image in a registry, run:\n\n gdcloud artifacts list-versions REGISTRY_NAME\n\n### OPTIONAL FLAGS\n\n --artifact string Get versions for a different artifact from the registry. (default \"gpc-system/gpc-oci\")\n --insecure Allow pulling from the registry, and establishing a connection to the server, even for server connections otherwise considered insecure.\n --latest Return only the latest version tag found. (default true)\n --single-manifest-repo List the manifests in a specified registry, where REGISTRY_NAME is the reference for the registry.\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]