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

regctl tag delete

Synopsis

Delete a tag in a repository. This avoids deleting the manifest when multiple tags reference the same image. For registries that do not support the OCI tag delete API, this is implemented by pushing a unique dummy manifest and deleting that by digest. If the registry does not support the delete API, the dummy manifest will remain.

regctl tag delete <image_ref>

Aliases

  • del
  • rm
  • remove

Examples

# delete a tag
regctl tag delete registry.example.org/repo:v42

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")