This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
Pre-built images that reference a parent but specify a tag that is not in the main variant list get the incorrect version #944
Labels
Currently the build system tries to match the correct versioned image tag when building an image that depends on another image generated by the repository. For example, jekyll references
mcr.microsoft.com/vscode/devcontainers/ruby:2
and has a dependency set to ensure the ruby image is built first.This logic is not properly handling the
"variantTags"
property. For example, in ruby's build config:In this case the version "2" is not detected since its an additional tag assigned to another image build (for 2.7 in this case). The end ressult is it gets the "latest" tag of 3.0 which is incorrect.
The text was updated successfully, but these errors were encountered: