@Override
    public int hashCode() {
        return Objects.hash(registry, repository, tag);
    }
Returns a copy of this with registry set to given value
config-provisioning/src/main/java/com/yahoo/config/provision/DockerImage.java