diff --git a/test/config/config.go b/test/config/config.go
index <HASH>..<HASH> 100644
--- a/test/config/config.go
+++ b/test/config/config.go
@@ -70,5 +70,5 @@ func (c *CiliumTestConfigType) ParseFlags() {
 		"Specifies timeout for test run")
 	flag.StringVar(&c.Kubeconfig, "cilium.kubeconfig", "",
 		"Kubeconfig to be used for k8s tests")
-	flag.StringVar(&c.Kubeconfig, "cilium.registry", "k8s1:5000", "docker registry hostname for Cilium image")
+	flag.StringVar(&c.Registry, "cilium.registry", "k8s1:5000", "docker registry hostname for Cilium image")
 }
CI: Fix typo setting kubeconfig variable from registry

This caused some off errors, particularly around how we determine
whether we are in the CI or running with a custom kubeconfig.