975 Unstar Star 3.3K Fork 1.7K

GVPJPressProjects / jpress

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
dbuild.sh 763 Bytes
Copy Edit Web IDE Raw Blame History
fuhai authored 2019-12-27 18:28 . v3.0.1 release (^.^)YYa!!
#!/bin/bash
version="$1"
if [[ "$version" == "" ]]; then
echo "./please designated docker image version"
exit 0
fi
mvn clean install
echo "exec : docker build . -t fuhai/jpress:"${version}
docker build . -t fuhai/jpress:${version}
echo "exec : docker push fuhai/jpress:"${version}
docker push fuhai/jpress:${version}
echo "exec : docker push fuhai/jpress:latest"
docker tag fuhai/jpress:${version} fuhai/jpress:latest
docker push fuhai/jpress:latest
echo "exec : docker push jpressio/jpress:"${version}
docker tag fuhai/jpress:latest jpressio/jpress:${version}
docker push jpressio/jpress:${version}
echo "exec : docker push jpressio/jpress:latest"
docker tag jpressio/jpress:${version} jpressio/jpress:latest
docker push jpressio/jpress:latest

Comment ( 0 )

Sign in for post a comment

Java
1
https://git.oschina.net/JPressProjects/jpress.git
git@git.oschina.net:JPressProjects/jpress.git
JPressProjects
jpress
jpress
master

Search

132457 8cb2edc1 1899542 131848 70c8d3a4 1899542