private String labelFilter(Map<String, String> labels) {
        if (labels == null || labels.isEmpty()) {
            return null;
        }
        StringBuilder labelFilter = new StringBuilder();
        labels.entrySet().stream().forEach(each ->
                labelFilter.append(SPACE).append(FILTER).append(SPACE).append(LABEL_ARGS)
                        .append(EQUALS).append(each.getKey()).append(EQUALS).append(each.getValue()));
        return labelFilter.toString();
    }
@param registry
@param username
@param password
@return docker --config ConfigFile login registry -u username -p password
commons/src/main/java/io/hyscale/commons/commands/provider/ImageCommandProvider.java