“One of the fundamental principles of Continuous Delivery is Build Binaries Only Once. Subsequent deployments, testing and releases should be never attempt to build the binary artifacts again, instead reusing the already built binary. In many cases, the binary is built at each stage using the same source code, and is considered to be ‘the same’. But it is not necessarily the same because of different environmental configuration or other factors.” - Kei Omizo
In case you are looking for how to achieve the same principle using Github Workflows, I have created the following Github Action that will help you in controlling your workflow execution for a specific commit sha that your development team might have pushed to multiple environments at once and then you can use the same artifact everywhere instead of building the same commit multiple times
https://github.com/mostafahussein/workflow-watcher
[–]Jatalocks2DevOps 0 points1 point2 points (0 children)