-
build the latest image
docker build .
-
find the new image ID
docker images
copy the first IMAGEID value in the list (eg: 2133c8f98f8a)
-
tag the imageid
docker tag 2133c8f98f8a elestio/nginx-auto-ssl:latest
-
push to docker hub
docker push elestio/nginx-auto-ssl:latest