regclient
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

regctl index add

Synopsis

Add an entry to a manifest list or OCI Index.

regctl index add <image_ref> [flags]

Aliases

  • append
  • insert

Examples

# add arm64 to the v1 image
regctl index add registry.example.org/repo:v1 --ref registry.example.org/repo:arm64

Options

      --desc-annotation stringArray   Annotation to add to descriptors of new entries
      --desc-platform string          Platform to set in descriptors of new entries
      --digest stringArray            Digest to add
      --digest-tags                   Include digest tags
      --platform stringArray          Platforms to include from ref
      --ref stringArray               References to add
      --referrers                     Include referrers

Options from parent commands

      --host stringArray     Registry hosts to add (reg=registry,user=username,pass=password,tls=enabled)
      --logopt stringArray   Log options
      --user-agent string    Override user agent
  -v, --verbosity string     Log level (trace, debug, info, warn, error) (default "WARN")