Commit 668bb056 authored by Raphael Defosseux's avatar Raphael Defosseux

CI: hotfix on the target creation detection

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 4f64703d
...@@ -343,7 +343,7 @@ class Containerize(): ...@@ -343,7 +343,7 @@ class Containerize():
startOfTargetImageCreation = False startOfTargetImageCreation = False
buildStatus = False buildStatus = False
for line in inputfile: for line in inputfile:
result = re.search('FROM .* as ' + image + '$', str(line)) result = re.search('FROM .* [aA][sS] ' + image + '$', str(line))
if result is not None: if result is not None:
startOfTargetImageCreation = True startOfTargetImageCreation = True
if startOfTargetImageCreation: if startOfTargetImageCreation:
......
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