提交 e89d4a6e 编写于 作者: T ToBeADevOps

第一次自动化打包部署_017

创建镜像前先删除镜像,同时尝试直接运行run.sh脚本
上级 c69a53ef
......@@ -7,7 +7,7 @@ if ls | grep -w "django_PACP.egg-info"; then
rm -r django_PACP.egg-info
fi
if docker images | grep -w "pacp" | awk '{print $3}'; then
if docker images | grep -w "pacp" | awk "{print $3}"; then
name=`docker images | grep -w "pacp" | awk "{print $3}"`
docker rmi -f $name
fi
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册