buildah/imagebuildah
Nalin Dahyabhai 4ae77145e8 imagebuildah.Executor/StageExecutor: check numeric --from= values
When we look up a stage that's referred to in a COPY --from argument,
treat the string as a stage number not only if it parses as one, as we
checked before, but now also require that the number correspond to one
of the stages that would be completed before the one into which the
content will be copied.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-08-13 15:45:17 +00:00
..
build.go
build_linux_test.go
executor.go imagebuildah.Executor/StageExecutor: check numeric --from= values 2025-08-13 15:45:17 +00:00
stage_executor.go imagebuildah.Executor/StageExecutor: check numeric --from= values 2025-08-13 15:45:17 +00:00
stage_executor_test.go
util.go
util_test.go