autonomy oci attach-lock

Attach an autonomy.lock.json to an OCI image

Synopsis

Attaches the lock file at --lock to the OCI image at --image.

Strategy selection (automatic, cached per registry host):
  1. OCI Referrers API (preferred, OCI 1.1 registries)
  2. Sidecar tag: <image-tag>-lock  (fallback for registry:2 and similar)

The output line shows which strategy was used and the resulting OCI reference.

Usage

autonomy oci attach-lock [flags]

Options

      --image string   OCI image reference (required)
      --lock string    path to autonomy.lock.json (default "autonomy.lock.json")

See also

  • autonomy oci — Manage OCI artifact attachments (lock, policy bundle)