Build and push a Docker image to Dockerhub

Start up your docker machine, then login with

docker login

Build the image using

docker build . -t vendor/package:x.x.x

Push to dockerhub

docker push vendor/package:x.x.x