m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-17 17:43:37 -05:00

Add liquid again for static rendering, fix #21 and make some small frontend changes

This commit is contained in:
Sergio
2024-09-06 21:13:38 +03:00
parent b0eff24087
commit d67ffbf387
6 changed files with 460 additions and 13 deletions

View File

@@ -34,7 +34,7 @@ pub async fn get_images_from_docker_daemon(socket: Option<String>) -> Vec<Image>
};
let mut result: Vec<Image> = Vec::new();
for image in images {
if !image.repo_tags.is_empty() && image.repo_digests.len() == 1 {
if !image.repo_tags.is_empty() && !image.repo_digests.is_empty() {
for t in &image.repo_tags {
let (registry, repository, tag) = split_image(t);
result.push(Image {