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"]],["上次更新時間:2025-09-05 (世界標準時間)。"],[[["\u003cp\u003eThis command \u003ccode\u003egdcloud artifacts list-versions\u003c/code\u003e retrieves version tags for the root OCI image found in a specified registry.\u003c/p\u003e\n"],["\u003cp\u003eBy default, the command targets the "gpc-system/gpc-oci" artifact, but users can specify a different artifact using the \u003ccode\u003e--artifact\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eThe command defaults to returning only the latest version tag, which can be altered to list all tags, using the default \u003ccode\u003elatest\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eUsers can enable insecure connections to the registry server using the \u003ccode\u003e--insecure\u003c/code\u003e flag, in case of insecure connections.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--single-manifest-repo\u003c/code\u003e option allows listing of manifests within a specific registry.\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/appliance/resources/gdcloud-reference/gdcloud) page."]]