Skip to content

Commit fe277cb

Browse files
Tim van Katwijktim-vk
authored andcommitted
fix bug in tag_to
Signed-off-by: Tim van Katwijk <timvankatwijk@hotmail.com>
1 parent 406e151 commit fe277cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockerfile_parse/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def basetag(self, new_tag):
442442
"""
443443
only change the tag of the final stage FROM instruction
444444
"""
445-
self.baseimage = tag_to(self.basetag, new_tag)
445+
self.baseimage = tag_to(self.baseimage, new_tag)
446446

447447
@property
448448
def cmd(self):

0 commit comments

Comments
 (0)