From 0712185eb277d1711701e009480e7c298c58e601 Mon Sep 17 00:00:00 2001 From: Juho Makinen Date: Thu, 28 Nov 2024 13:25:51 +1100 Subject: [PATCH] fix: mark RegistryConfig.Registry as required --- backend/controller/artefacts/oci_registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/controller/artefacts/oci_registry.go b/backend/controller/artefacts/oci_registry.go index ecfb2dcfe9..3b82eb87e9 100644 --- a/backend/controller/artefacts/oci_registry.go +++ b/backend/controller/artefacts/oci_registry.go @@ -28,7 +28,7 @@ import ( var _ Service = &OCIArtefactService{} type RegistryConfig struct { - Registry string `help:"OCI container registry, in the form host[:port]/repository" env:"FTL_ARTEFACT_REGISTRY"` + Registry string `help:"OCI container registry, in the form host[:port]/repository" env:"FTL_ARTEFACT_REGISTRY" required:""` Username string `help:"OCI container registry username" env:"FTL_ARTEFACT_REGISTRY_USERNAME"` Password string `help:"OCI container registry password" env:"FTL_ARTEFACT_REGISTRY_PASSWORD"` AllowInsecure bool `help:"Allows the use of insecure HTTP based registries." env:"FTL_ARTEFACT_REGISTRY_ALLOW_INSECURE"`