github.com/misfo/deis@v1.0.1-0.20141111224634-e0eee0392b8a/builder/templates/push-images (about) 1 #!/bin/bash 2 3 # wait until the docker image exists 4 until docker history deis/slugrunner >/dev/null 2>&1; do 5 sleep 2 6 done 7 8 # tag and push 9 docker tag deis/slugrunner:latest {{ .deis_registry_host }}:{{ .deis_registry_port }}/deis/slugrunner:latest 10 docker push {{ .deis_registry_host }}:{{ .deis_registry_port }}/deis/slugrunner:latest