From 6912647a3dc1ddf78d2ebdada19bea4bde89e9fb Mon Sep 17 00:00:00 2001 From: Alexander Olzem Date: Mon, 29 Jun 2026 14:31:21 +0200 Subject: [PATCH] fix: strip any sub-paths for registries in ocmconfig --- examples/ocm/cluster-workflow-template.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ocm/cluster-workflow-template.yaml b/examples/ocm/cluster-workflow-template.yaml index ff434527..7b9c3474 100644 --- a/examples/ocm/cluster-workflow-template.yaml +++ b/examples/ocm/cluster-workflow-template.yaml @@ -120,7 +120,7 @@ spec: consumers: - identity: type: OCIRegistry - hostname: $(echo '{{workflow.parameters.srcRemoteURL}}' | cut -d : -f 1) + hostname: $(echo '{{workflow.parameters.srcRemoteURL}}' | cut -d / -f 1 | cut -d : -f 1) credentials: - type: Credentials properties: @@ -205,7 +205,7 @@ spec: consumers: - identity: type: OCIRegistry - hostname: $(echo '{{workflow.parameters.dstRemoteURL}}' | cut -d : -f 1) + hostname: $(echo '{{workflow.parameters.dstRemoteURL}}' | cut -d / -f 1 | cut -d : -f 1) credentials: - type: Credentials properties: