fix manage-offline-container-images.sh create_registry (#11964)

This commit is contained in:
Jay.H 2025-05-17 23:25:13 +09:00 committed by GitHub
parent 46a0dc9a51
commit 8a4f4d13f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,7 +127,7 @@ function register_container_images() {
tar -zxvf ${IMAGE_TAR_FILE}
if [ "${create_registry}" ]; then
if ${create_registry}; then
sudo ${runtime} load -i ${IMAGE_DIR}/registry-latest.tar
set +e