CI: hotfix on the target creation detection
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user