Fix execution order of tasks in dockerBuildAndPush