To package two Debian files into an OCI artifact, run:
gdcloud artifacts apt package FILE_1.deb FILE_2.deb DESTINATION
In this example, FILE_1.deb and FILE_2.deb are two Debian files.
The DESTINATION path must point to the OCI artifact.
選用旗標
--name string Name of the artifact. (default "gpc-deb-packages")
--version string Version of the artifact. (default "1.0")
[[["容易理解","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\u003e\u003ccode\u003egdcloud artifacts apt package\u003c/code\u003e is used to package Debian files into an OCI artifact.\u003c/p\u003e\n"],["\u003cp\u003eMultiple Debian files can be included in a single artifact by listing them as source arguments.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDESTINATION\u003c/code\u003e argument specifies the OCI artifact's path.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--name\u003c/code\u003e and \u003ccode\u003e--version\u003c/code\u003e flags allow customization of the artifact's name and version, defaulting to "gpc-deb-packages" and "1.0", respectively.\u003c/p\u003e\n"],["\u003cp\u003eOther flags available to all commands, such as \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, and \u003ccode\u003e--project\u003c/code\u003e can be used.\u003c/p\u003e\n"]]],[],null,[]]