kustomize: Fix images schema
infra/updatebot/pipeline/head This commit looks good
Details
infra/updatebot/pipeline/head This commit looks good
Details
The image name is specified in a field named `name`, not `image`.
parent
bcf7ee2cf1
commit
11ee9ac8eb
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue