Refactored docker-registry role and updated scripts for Shipyard