aboutsummaryrefslogtreecommitdiff
path: root/kolla/image
diff options
context:
space:
mode:
Diffstat (limited to 'kolla/image')
-rwxr-xr-xkolla/image/build.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index bb9012f42..60625409e 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -1061,9 +1061,11 @@ class KollaWorker(object):
self.base_arch)
tag_re = re.compile(r'^%s(\+%s)*$' % (tag_element, tag_element))
unbuildable_images = set()
- for set_tag in UNBUILDABLE_IMAGES:
- if tag_re.match(set_tag):
- unbuildable_images.update(UNBUILDABLE_IMAGES[set_tag])
+
+ if not self.conf.enable_unbuildable:
+ for set_tag in UNBUILDABLE_IMAGES:
+ if tag_re.match(set_tag):
+ unbuildable_images.update(UNBUILDABLE_IMAGES[set_tag])
if unbuildable_images:
for image in self.images: