moby/internal/mod
CrazyMax 5400366b90
Set BuildKit version using buildinfo
This sets BuildKit version from the build information embedded
in running binary so we are aligned with the expected vendoring.

We iterate over all dependencies and find the BuildKit one
and set the right version. We also check if the module is
replaced and use it this case.

There is also additional checks if a pseudo version is
detected. See comments in code for more info.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-04-25 12:30:52 +02:00
..
mod.go Set BuildKit version using buildinfo 2023-04-25 12:30:52 +02:00
mod_test.go Set BuildKit version using buildinfo 2023-04-25 12:30:52 +02:00