[Compass-ci] [PATCH compass-ci] 4-docker/buildall: modify the logic