build icon indicating copy to clipboard operation
build copied to clipboard

Local-Copy vs. Output-Image Overwrite

Open otaviof opened this issue 3 years ago • 3 comments

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.

otaviof avatar Jan 28 '22 14:01 otaviof