From 2c7f4c0e5ae9a2d5ac1faa6190c058b16dfe0d92 Mon Sep 17 00:00:00 2001 From: RBER Admin Date: Wed, 10 Dec 2025 09:59:21 +0000 Subject: [PATCH] Fix catalog:register URL - use catalogInfoUrl with explicit branch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The repoContentsUrl output from publish:gitea was missing the branch name. Using catalogInfoUrl with explicit URL construction to fix the 400 error. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- templates/node-api/template.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/node-api/template.yaml b/templates/node-api/template.yaml index 7deb1c8..d311e8b 100644 --- a/templates/node-api/template.yaml +++ b/templates/node-api/template.yaml @@ -78,8 +78,7 @@ spec: name: Enregistrer dans le catalogue action: catalog:register input: - repoContentsUrl: ${{ steps['publish'].output.repoContentsUrl }} - catalogInfoPath: /catalog-info.yaml + catalogInfoUrl: http://git.rber.bj/${{ parameters.university }}/${{ parameters.name }}/src/branch/main/catalog-info.yaml output: links: