hendricius / the-sourdough-framework

Open source book dedicated to helping you to make the best possible sourdough bread at home.
https://breadco.de/book
Creative Commons Attribution Share Alike 4.0 International
2.57k stars 128 forks source link

Build image for each pull request #300

Closed hendricius closed 6 months ago

hendricius commented 7 months ago

Small changes on the build flow.

  1. This will build a docker image with the dependencies for each pull request.
  2. The image is taken from cache if none of the dependencies changed.
  3. Then an image is published with a tag containing the branch name, allowing us to go back in time and debug the issue.
  4. The next build steps use this published image for the subsequent build process.