diff --git a/updatebot.py b/updatebot.py index fa67b2b..1debe13 100644 --- a/updatebot.py +++ b/updatebot.py @@ -136,7 +136,7 @@ class KustomizeProject(BaseProject): images = kustomization.setdefault('images', []) new_tag = self.tag_format.format(version=version) for image in images: - if image['image'] == self.image: + if image['name'] == self.image: image['newTag'] = new_tag break else: