Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
scan-sources: Detect member in from.builder
Browse files Browse the repository at this point in the history
  • Loading branch information
joepvd committed Dec 19, 2022
1 parent 472e6d2 commit 91d52a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doozerlib/cli/scan_sources.py
Expand Up @@ -130,6 +130,9 @@ def add_image_meta_change(meta, rebuild_hint: RebuildHint):
base_image = image_meta.config["from"].member
if base_image:
dependencies.add(base_image)
for builder in image_meta.config['from'].builder:
if builder.member:
dependencies.add(builder.member)
for dep_key in dependencies:
dep = runtime.image_map.get(dep_key)
if not dep:
Expand Down

0 comments on commit 91d52a9

Please sign in to comment.