Skip to content

Commit 0885090

Browse files
committed
CH-235 add logging on existence check
1 parent bbc08ec commit 0885090

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/deployment-cli-tools/ch_cli_tools/codefresh.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def check_image_exists(name, image):
7070
registry = chunks[0] if "." in chunks[0] else "docker.io"
7171
image_name = "/".join(chunks[1::] if "." in chunks[0] else chunks[0::])
7272
exists = check_image_exists_in_registry(registry, image_name, tag, endpoint_url=image_cache_endpoint_url)
73+
logging.info("Image %s exists check: %s", image, exists)
7374
if exists:
7475
# TODO the hash might be the same but not the parent's hash
7576
env[app_specific_tag_variable(name) + "_EXISTS"] = 1

0 commit comments

Comments
 (0)