public static ImageArchiveManifestEntry findEntryByRepoTag(String repoTag, ImageArchiveManifest manifest) {
        if(repoTag == null || manifest == null) {
            return null;
        }

        for(ImageArchiveManifestEntry entry : manifest.getEntries()) {
            for(String entryRepoTag : entry.getRepoTags()) {
                if(repoTag.equals(entryRepoTag)) {
                    return entry;
                }
            }
        }

        return null;
    }
Search the manifest for an entry that has the repository and tag provided.

@param repoTag the repository and tag to search (e.g. busybox:latest).
@param manifest the manifest to be searched
@return the entry found, or null if no match.
src/main/java/io/fabric8/maven/docker/util/ImageArchiveUtil.java