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-08-19 (世界標準時間)。"],[[["\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,[]]