File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -330,8 +330,13 @@ function get_sys_pkg() {
330330function get_harbor_offline_pkg() {
331331 [[ -f " $BASE /down/harbor-offline-installer-$HARBOR_VER .tgz" ]] && { logger warn " harbor-offline existed" ; return 0; }
332332
333- docker run --rm -v " $BASE /down" :/tmp/out " easzlab/harbor-offline:$HARBOR_VER " \
334- sh -c " cp /harbor-offline-installer-$HARBOR_VER .tgz /tmp/out/"
333+ if [[ " $ARCH " == aarch64 ]]; then
334+ docker run --rm -v " $BASE /down" :/tmp/out " easzlab/harbor-offline:${HARBOR_VER} -aarch64" \
335+ sh -c " cp /harbor-offline-installer-$HARBOR_VER .tgz /tmp/out/"
336+ else
337+ docker run --rm -v " $BASE /down" :/tmp/out " easzlab/harbor-offline:$HARBOR_VER " \
338+ sh -c " cp /harbor-offline-installer-$HARBOR_VER .tgz /tmp/out/"
339+ fi
335340}
336341
337342function get_default_images() {
You can’t perform that action at this time.
0 commit comments