Trigger CI image build job if common variable values change

We need to fix the prepare ci image job so that it is also triggered if only the image name and other common variables change.

Edited by Pedro Pombeiro