autonomy oci attach-policy

Attach a policy bundle tarball to an OCI image

Synopsis

Attaches the policy bundle at –bundle to the OCI image at –image.

The bundle should be a .tar or .tar.gz file produced by ‘autonomy policy pack’. Uses the same referrers/sidecar strategy selection as attach-lock.

Usage

autonomy oci attach-policy [flags]

Options

      --bundle string   path to policy bundle tarball (default "policy.tar")
      --image string    OCI image reference (required)

See also

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