Added DOCKER_REGISTRY envvar to build scripts, for backward compatibility