Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
NOME
gcloud artifacts push: esegui il push dei pacchetti OCI in un registro.
SINOSSI
gdcloud artifacts push SOURCE DESTINATION [flags]
ESEMPI
To push a OCI packages to a registry, run:
gdcloud artifacts push SOURCE DESTINATION
To push a single manifest of the repository to the registry, run:
gdcloud artifacts push SOURCE DESTINATION --single-manifest-repo
To push OCI packages to a registry without adhering to TLS protocols, run:
gdcloud artifacts push SOURCE DESTINATION --insecure
The SOURCE path must point to a directory containing the OCI bundle.
The DESTINATION is a reference of a remote OCI image. For example, gcr.io/cloud-marketplace/google/nginx:1.25.
This command writes the extracted image to the output path specified in SOURCE. This output path must point to an empty directory.
FLAG FACOLTATIVI
--ca-cert-path string Absolute file path to the user-provided CA certificate file that is used to push a manifest over a HTTPS connection.
--insecure Allow pushing to the registry, and establish a connection to the server, even for server connections otherwise considered insecure.
--single-manifest-repo Tag and push the single manifest of the repository, as opposed to the image index, to the registry.
GDCLOUD WIDE FLAGS
Questi flag sono disponibili per tutti i comandi: --configuration, --format, --help, --project, --quiet.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003egdcloud artifacts push\u003c/code\u003e command is used to push OCI packages to a specified registry.\u003c/p\u003e\n"],["\u003cp\u003eThe command requires a source directory containing the OCI bundle and a destination representing the remote OCI image reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--insecure\u003c/code\u003e flag allows pushing to the registry without enforcing secure TLS protocols.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--single-manifest-repo\u003c/code\u003e flag pushes a single manifest of the repository instead of the image index.\u003c/p\u003e\n"],["\u003cp\u003eYou can provide an absolute file path to a user-provided CA certificate file using \u003ccode\u003e--ca-cert-path\u003c/code\u003e to push over a HTTPS connection.\u003c/p\u003e\n"]]],[],null,["# gdcloud artifacts push\n\nNAME\n----\n\ngdcloud artifacts push - Push OCI packages to a registry.\n\nSYNOPSIS\n--------\n\n gdcloud artifacts push SOURCE DESTINATION [flags]\n\n### EXAMPLES\n\n To push a OCI packages to a registry, run:\n\n gdcloud artifacts push SOURCE DESTINATION\n\n To push a single manifest of the repository to the registry, run:\n\n gdcloud artifacts push SOURCE DESTINATION --single-manifest-repo\n\n To push OCI packages to a registry without adhering to TLS protocols, run:\n\n gdcloud artifacts push SOURCE DESTINATION --insecure\n\n The SOURCE path must point to a directory containing the OCI bundle.\n The DESTINATION is a reference of a remote OCI image. For example, gcr.io/cloud-marketplace/google/nginx:1.25.\n This command writes the extracted image to the output path specified in SOURCE. This output path must point to an empty directory.\n\n### OPTIONAL FLAGS\n\n --ca-cert-path string Absolute file path to the user-provided CA certificate file that is used to push a manifest over a HTTPS connection.\n --insecure Allow pushing to the registry, and establish a connection to the server, even for server connections otherwise considered insecure.\n --single-manifest-repo Tag and push the single manifest of the repository, as opposed to the image index, to 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/gdch/resources/gdcloud-reference/gdcloud) page."]]