Commit 935751f5 authored by Noé Gaumont's avatar Noé Gaumont 🐙
Browse files

fix: do not try to upgrade images that have not been built

parent c3450d004076
......@@ -264,7 +264,8 @@ def build(debian_dists: List[str], images: List[CubicWebImage] = [], rebuild=Fal
built = build_image(image, image_type)
conditionnal_append(built_images, failed_images, built, image)
if rebuild and image_type is None:
# Do no try to update image not built
if built and rebuild and image_type is None:
tag = image.tag
out = run(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment