startdocker.sh 267 B

12345678
  1. #!/bin/bash
  2. #app=$1
  3. docker login 192.168.123.25:31104 -u admin -p Harbor12345
  4. docker rmi 192.168.123.25:31104/unis/province/$1
  5. docker build -f ./Dockerfile -t $1 .
  6. docker tag $1 192.168.123.25:31104/unis/province/$1
  7. docker push 192.168.123.25:31104/unis/province/$1