Skip to main content
Duplicate stage names are not allowed.
Superseded by buildkit/DuplicateStageName, which provides the same check.

Description

Defining multiple stages with the same name results in an error because the builder is unable to uniquely resolve the stage name reference.

Examples

Problematic code

Correct code

Reference