Skip to content

Conversation

@leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented Dec 10, 2025

What

Add a setup step in the build workflow (called by other repos) to resolve image inheritance using the quickstart repository's images.json.

Why

Input images passed to the workflow from other repositories would benefit from being able to inherit from images defined in the quickstart repository's images.json, enabling reuse of base image configurations without duplicating them in every workflow input.

I had intended to implement this final step in #857 but missed it.

Close #856

@github-project-automation github-project-automation bot moved this to Backlog (Not Ready) in DevX Dec 10, 2025
@leighmcculloch leighmcculloch marked this pull request as ready for review December 10, 2025 14:50
@leighmcculloch leighmcculloch enabled auto-merge (squash) December 10, 2025 14:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables external repositories to inherit image configurations from the quickstart repository's images.json file. This allows third-party workflows to reuse base image definitions without duplicating configuration.

Key Changes:

  • Extended .scripts/images-resolve-inherits to accept an optional parent file parameter for looking up inherited images
  • Added workflow step in build.yml to resolve image inheritance using the repository's images.json as the parent source
  • Updated build and test jobs to use the resolved images from the setup step

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.scripts/images-resolve-inherits Added optional parent file parameter and dual-lookup logic (input images take precedence over parent images)
.github/workflows/build.yml Added "Resolve Inherits from Repo images.json" step and updated downstream jobs to use resolved images

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@leighmcculloch leighmcculloch merged commit f66aa4c into main Dec 10, 2025
89 checks passed
@leighmcculloch leighmcculloch deleted the quickstart-inherit-from-file branch December 10, 2025 21:27
@github-project-automation github-project-automation bot moved this from Backlog (Not Ready) to Done in DevX Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add inherit field support in images.json for inheriting deps from other images

3 participants