Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 2.4 KB

File metadata and controls

53 lines (37 loc) · 2.4 KB

component-cli component-archive remote push

pushes a component archive to an oci repository

Synopsis

pushes a component archive with the component descriptor and its local blobs to an oci repository.

The command can be called in 2 different ways:

push [path to component descriptor]

  • The cli will read all necessary parameters from the component descriptor.

push [baseurl] [componentname] [Version] [path to component descriptor]

  • The cli will add the baseurl as repository context and validate the name and Version.
component-cli component-archive remote push COMPONENT_DESCRIPTOR_PATH [flags]

Options

      --allow-plain-http                allows the fallback to http if the oci registry does not support https
  -a, --archive string                  path to the component archive directory
      --cc-config string                path to the local concourse config file
      --component-name string           name of the component
      --component-name-mapping string   [OPTIONAL] repository context name mapping (default "urlPath")
      --component-version string        version of the component
  -h, --help                            help for push
      --insecure-skip-tls-verify        If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
      --registry-config string          path to the dockerconfig.json with the oci registry authentication information
      --repo-ctx string                 [OPTIONAL] repository context url for component to upload. The repository url will be automatically added to the repository contexts.
  -t, --tag stringArray                 set additional tags on the oci artifact

Options inherited from parent commands

      --cli                  logger runs as cli logger. enables cli logging
      --dev                  enable development logging which result in console encoding, enabled stacktrace and enabled caller
      --disable-caller       disable the caller of logs (default true)
      --disable-stacktrace   disable the stacktrace of error logs (default true)
      --disable-timestamp    disable timestamp output (default true)
  -v, --verbosity int        number for the log level verbosity (default 1)

SEE ALSO