From 29071325b91951faa3f9d5aeec511e0d34a556b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juho=20M=C3=A4kinen?= Date: Thu, 28 Nov 2024 13:33:06 +1100 Subject: [PATCH] fix: mark RegistryConfig.Registry as required (#3556) Required, because it does not work without it --- 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"`