1 Star 0 Fork 2.7K

shallwe.wang/jpress

forked from JPressProjects/jpress 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-build.sh 808 Bytes
一键复制 编辑 原始数据 按行查看 历史
Michael Yang 提交于 2022-10-01 12:55 . update Dockerfile
#!/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} -f ./Dockerfile.build
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/shaowewang/jpress.git
git@gitee.com:shaowewang/jpress.git
shaowewang
jpress
jpress
v5.x

搜索帮助