- #!/bin/bash
- #app=$1
- docker login 192.168.123.25:31104 -u admin -p Harbor12345
- docker rmi 192.168.123.25:31104/unis/province/$1
- docker build -f ./Dockerfile -t $1 .
- docker tag $1 192.168.123.25:31104/unis/province/$1
- docker push 192.168.123.25:31104/unis/province/$1
|