Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
k8s
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 82a5f09e
authored
Jan 08, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
1 parent
0b99d1ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
script/harbor/seetaas-operator-pull-push.sh
script/harbor/seetaas-operator-pull-push.sh
View file @
82a5f09
...
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment