From 0ca602049fc471bdbf79e53015b8074420ea2e10 Mon Sep 17 00:00:00 2001 From: "franz.germann" Date: Thu, 14 Aug 2025 13:39:17 +0200 Subject: [PATCH] feat: trim app version in pipeline --- .forgejo/workflows/createapp.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/createapp.yaml b/.forgejo/workflows/createapp.yaml index 1e3b470..2de2ee9 100644 --- a/.forgejo/workflows/createapp.yaml +++ b/.forgejo/workflows/createapp.yaml @@ -58,7 +58,7 @@ jobs: "key": { "organization": "edp-developer-framework", "name": "$(echo ${{ steps.repository.outputs.repository }} | sed -e 's|^.*/||')", - "version": "${{ steps.docker.outputs.version }}" + "version": "$(echo ${{ steps.docker.outputs.version }} | tr -d '\n')" }, "image_path": "${{ steps.docker.outputs.tags }}", "image_type": "Docker", @@ -75,4 +75,4 @@ jobs: ) echo create app - curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/ctrl/CreateApp -H 'Content-Type: application/json' -H "Authorization: Bearer $EDGEXR_TOKEN" -S --data "$CREATEAPP_JSON" --fail-with-body \ No newline at end of file + curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/ctrl/CreateApp -H 'Content-Type: application/json' -H "Authorization: Bearer $EDGEXR_TOKEN" -Ss --data "$CREATEAPP_JSON" --fail-with-body \ No newline at end of file