CORD-308 add dependency so images are pulled before the build

Change-Id: Ied80bea87730f70890d0f27317dd81d72d04ab67
diff --git a/build.gradle b/build.gradle
index caeb968..0cafcef 100644
--- a/build.gradle
+++ b/build.gradle
@@ -195,6 +195,7 @@
 // To be used to generate all needed binaries that need to be present on the target
 // as docker images in the local docker runner.
 task buildImages {
+    dependsOn fetch
     dependsOn buildBootstrapImage
     dependsOn buildHarvesterImage
     dependsOn buildAutomationImage