diff --git a/push_registry.sh b/push_registry.sh index 9cd6f9b..fc89d47 100755 --- a/push_registry.sh +++ b/push_registry.sh @@ -3,7 +3,7 @@ # Configuration REGISTRY="git.khoavo.myds.me" IMAGE_NAME="vndangkhoa/apix" -TAG="v2" +TAG="v3" FULL_IMAGE="$REGISTRY/$IMAGE_NAME:$TAG" echo "=== Building Docker Image for Linux/AMD64 ===" diff --git a/whisk_client.py b/whisk_client.py index 84191e1..06e61da 100644 --- a/whisk_client.py +++ b/whisk_client.py @@ -240,8 +240,10 @@ def load_template_favorites(): if 'imagePanels' in json_resp: for panel in json_resp['imagePanels']: for img in panel.get('generatedImages', []): - if 'encodedImage' in img: + if 'encodedImage' in img and img['encodedImage']: images.append(img['encodedImage']) + else: + logger.warning(f"Found image entry but encodedImage was emptyor missing. Img keys: {img.keys()}") if not images: import json