public String getRegistry() {
    return registry;
  }
Gets the registry portion of the {@link ImageReference}.

@return the registry host
jib-core/src/main/java/com/google/cloud/tools/jib/api/ImageReference.java