1 Star 0 Fork 2.7K

fengsong97/jpress

forked from JPressProjects/jpress 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-build.sh 786 Bytes
一键复制 编辑 原始数据 按行查看 历史
Michael Yang 提交于 2021-06-18 22:11 . 优化一键安装脚本
#!/bin/bash
# abort on errors
set -e
version="$1"
if [[ "$version" == "" ]]; then
echo "./please designated docker image version"
exit 0
fi
mvn clean package
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/fengsong97/jpress.git
git@gitee.com:fengsong97/jpress.git
fengsong97
jpress
jpress
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385