Update build.sh to connect etcd get resource url and push build packages
to the resource url.