3 As an example we build a new version (2.2.0) of the leapcode/ruby image:
7 I.e. look at the tags at https://hub.docker.com/r/leapcode/ruby/tags/ or query tags with:
9 curl -s https://registry.hub.docker.com/v2/repositories/leapcode/jessie/tags/ |jq '."results"[]["name"]'
16 docker build --no-cache -t leapcode/${IMAGE}:${VERSION} .
21 docker login -u leapcode
22 docker push leapcode/${IMAGE}:${VERSION}
23 docker tag leapcode/${IMAGE}:${VERSION} leapcode/${IMAGE}:latest
24 docker push leapcode/${IMAGE}:latest