build
build copied to clipboard
Local-Copy vs. Output-Image Overwrite
I would like to raise something for discussion, please. The initial use-case indented for a "Local Copy" BuildSource
is to aid the developer's inner loop, however, at the end of this process, the final image would be built from the primary repository branch (for instance main
).
With that said, should we validate the BuildRun
resources having LocalCopy
declared and make sure the .spec.output.image
is different than on the Build
object?
Let me know your ideas on this, please. It might overlap other subjects like the automatic generation of image tags, and such.