To create an OCI package, run:
gdcloud artifacts services package SOURCE DESTINATION
The SOURCE path must point to the service.yaml file.
The DESTINATION path must point to an empty directory.
[[["わかりやすい","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-04 UTC。"],[[["\u003cp\u003eThe \u003ccode\u003egdcloud artifacts services package\u003c/code\u003e command creates an OCI package from a service.yaml file.\u003c/p\u003e\n"],["\u003cp\u003eThe command requires two arguments: \u003ccode\u003eSOURCE\u003c/code\u003e, which is the path to the service.yaml file, and \u003ccode\u003eDESTINATION\u003c/code\u003e, which is an empty directory.\u003c/p\u003e\n"],["\u003cp\u003eIt provides an example of how to run the command: \u003ccode\u003egdcloud artifacts services package SOURCE DESTINATION\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSeveral global flags are available for use with the command, including \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, and \u003ccode\u003e--quiet\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# gdcloud artifacts services package\n\nNAME\n----\n\ngdcloud artifacts services package - Create an OCI package based on a service.yaml file.\n\nSYNOPSIS\n--------\n\n gdcloud artifacts services package SOURCE DESTINATION [flags]\n\n### EXAMPLES\n\n To create an OCI package, run:\n\n gdcloud artifacts services package SOURCE DESTINATION\n\n The SOURCE path must point to the service.yaml file.\n The DESTINATION path must point to an empty directory.\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."]]