push-docker-imgs.sh 285 B

1234567891011121314
  1. if [ "$#" == "0" ]; then
  2. echo "Usage: sh $0 TAG"
  3. echo "\tTAG: 1.2.3"
  4. exit 1
  5. else
  6. TAG="$1"
  7. echo "used input tag: ${TAG}"
  8. fi
  9. docker push igeeky/wolf-server:${TAG}
  10. docker push igeeky/wolf-server:latest
  11. docker push igeeky/wolf-agent:${TAG}
  12. docker push igeeky/wolf-agent:latest