Creates a new [LifecyclePolicy] for the given [repository]. If [args] is not provided, then [getDefaultLifecyclePolicyArgs] will be used to set the default policy for this repo.
Optional
Static
Creates a default lifecycle policy such that at most a single untagged image is retained. All tagged layers and images will never expire.
Generated using TypeDoc
Creates a new [LifecyclePolicy] for the given [repository]. If [args] is not provided, then [getDefaultLifecyclePolicyArgs] will be used to set the default policy for this repo.