Skip to content

Commit f25f775

Browse files
authored
Merge pull request #5349 from ormergi/fix-kind-push-cmd
kind: Rm push_args variable quotes
2 parents f792af5 + b0b32b3 commit f25f775

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/kind.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,14 +845,14 @@ build_ovn_image() {
845845
# store in local registry
846846
if [ "$KIND_LOCAL_REGISTRY" == true ];then
847847
echo "Pushing built image to local $OCI_BIN registry"
848-
$OCI_BIN push "$push_args" "$OVN_IMAGE"
848+
$OCI_BIN push $push_args "$OVN_IMAGE"
849849
fi
850850
# We should push to local registry if image is not remote
851851
elif [ "${OVN_IMAGE}" != "" -a "${KIND_LOCAL_REGISTRY}" == true ] && (echo "$OVN_IMAGE" | grep / -vq); then
852852
local local_registry_ovn_image="localhost:5000/${OVN_IMAGE}"
853853
$OCI_BIN tag "$OVN_IMAGE" $local_registry_ovn_image
854854
OVN_IMAGE=$local_registry_ovn_image
855-
$OCI_BIN push "$push_args" "$OVN_IMAGE"
855+
$OCI_BIN push $push_args "$OVN_IMAGE"
856856
fi
857857
}
858858

0 commit comments

Comments
 (0)