From 8e1a6f0c1ea678941bb6189e1dd32b73f9b52637 Mon Sep 17 00:00:00 2001 From: dervoeti Date: Tue, 10 Sep 2024 13:11:20 +0200 Subject: [PATCH] fix: jq arg parsing --- .github/actions/publish-image/action.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/actions/publish-image/action.yml b/.github/actions/publish-image/action.yml index 9c8f60f36..9fbef46b3 100644 --- a/.github/actions/publish-image/action.yml +++ b/.github/actions/publish-image/action.yml @@ -129,19 +129,18 @@ runs: # TODO (@Techassi): Replace author with manufacturer, because it is # automated, see https://cyclonedx.org/docs/1.6/json/#metadata_component_manufacturer jq -s \ - --arg description "$IMAGE_METADATA_DESCRIPTION" \ - --arg name "$IMAGE_METADATA_NAME" \ + --arg description "$IMAGE_METADATA_NAME. $IMAGE_METADATA_DESCRIPTION" \ --arg purl "$PURL" \ '{ "metadata": { "component": { - "description": "$name. $description", + "description": $description, "supplier": { "name": "Stackable GmbH", "url": ["https://stackable.tech/"] }, "author": "Stackable GmbH", - "purl": "$purl", + "purl": $purl, "publisher": "Stackable GmbH" } }