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.
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 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."]]