Docker plugin push to local registry

What are the steps you are using to push?

They should be something similar to:

docker build -t image-name:tag-name .
docker tag image-name:tag-name localhost:5000/image-name:tag-name
docker push localhost:5000/image-name:tag-name