Commit 9e21acee by wangtingwei

优化为相对路径

1 parent a2c9270e
Showing with 1 additions and 1 deletions
......@@ -15,7 +15,7 @@ fi
sed_image_name () {
echo "拷贝yaml到临时目录,公有云环境下sed修改镜像"
sleep 2
cp -a $workspace/src/kpl-launcher/k8s_yaml/kpl-launcher/deployment.yaml /tmp/deployment-$date.yaml
cp -a k8s_yaml/kpl-launcher/deployment.yaml /tmp/deployment-$date.yaml
sed -i s@IMAGE_NAME@$IMAGE_NAME@g /tmp/deployment-$date.yaml
}
####################################################################
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!