conan-io/conan-docker-tools

Avoid re-buiding all images once are merged to master

uilianries opened this issue · 2 comments

Description of Problem, Request, or Question

When a PR is created, all Docker images are created as usual and that's the validation to check if the CI is okay.

Once the PR is merged, the master branch builds all images again, costing more time and resources.

It would be better using a promotion mechanism, where images generated by PR are stored in a temporary repository, then, once the PR is merged, those images are pushed to the official repository.

Environment Details

  • Conan Docker Tools image: conanio/gcc7:1.13.1
  • Operating System: Linux
  • Operation System Version: Ubuntu 16.04
  • Python version (If you are building some image): python 3.7.0

Steps to reproduce (Include if Applicable)

Build logs (Include if Available)