gdcloud artifacts push

名称

gdcloud artifacts push - 将 OCI 软件包推送到注册表。

摘要

gdcloud artifacts push SOURCE DESTINATION [flags]

示例

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.

可选标志

      --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 全局标志

以下标志适用于所有命令:--configuration--format--help--project--quiet

如需了解详情,请参阅 gdcloud CLI 参考概览页面。