Commit 82a5f09e by tingweiwang

fix bug

1 parent 0b99d1ee
Showing with 4 additions and 1 deletions
......@@ -4,7 +4,7 @@
# 如果预处理不需要支持jupter,则除了operator镜像外,其他镜像文件注释。
harbor_host=192.168.1.56:5000
harbor_passwd=admin
image_path=/root/operater-images
image_path=/data/operater-images
base_url=hb.seetatech.com/k8s
image_name=(
operator:0.1.13
......@@ -27,8 +27,11 @@ echo "开始导出镜像"
test -d $image_path || mkdir -pv $image_path
for img in ${image_name[@]}
do
echo "开始导出$img镜像"
docker save $base_url/$img -o $image_path/$img.tar.gz
done
echo "开始压缩镜像目录.请耐心等待"
tar -cvzf operater-images.tar.gz $image_path
}
#####################################################
tag_push() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!