github.com/turingchain2020/turingchain@v1.1.21/build/dockerhub.sh (about)

     1  #!/bin/bash
     2  
     3  version=$(./turingchain -v)
     4  docker build . -f Dockerfile-node -t turingchaincoin/node:"$version"
     5  
     6  docker tag turingchaincoin/node:"$version" turingchaincoin/node:latest
     7  
     8  docker login
     9  docker push turingchaincoin/node:latest
    10  docker push turingchaincoin/node:"$version"