feat: trim app version in pipeline

This commit is contained in:
franz.germann 2025-08-14 13:39:17 +02:00
parent 916c3a17ca
commit 0ca602049f

View file

@ -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
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