public static RegistryImage named(String imageReference) throws InvalidImageReferenceException {
    return named(ImageReference.parse(imageReference));
  }
Instantiate with the image reference to use.

@param imageReference the image reference
@return a new {@link RegistryImage}
@throws InvalidImageReferenceException if {@code imageReference} is not a valid image reference
jib-core/src/main/java/com/google/cloud/tools/jib/api/RegistryImage.java