Skip to content

Commit f3aaed0

Browse files
authored
fix: jq arg parsing (#841)
1 parent 36ec2db commit f3aaed0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/actions/publish-image/action.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,19 +129,18 @@ runs:
129129
# TODO (@Techassi): Replace author with manufacturer, because it is
130130
# automated, see https://cyclonedx.org/docs/1.6/json/#metadata_component_manufacturer
131131
jq -s \
132-
--arg description "$IMAGE_METADATA_DESCRIPTION" \
133-
--arg name "$IMAGE_METADATA_NAME" \
132+
--arg description "$IMAGE_METADATA_NAME. $IMAGE_METADATA_DESCRIPTION" \
134133
--arg purl "$PURL" \
135134
'{
136135
"metadata": {
137136
"component": {
138-
"description": "$name. $description",
137+
"description": $description,
139138
"supplier": {
140139
"name": "Stackable GmbH",
141140
"url": ["https://stackable.tech/"]
142141
},
143142
"author": "Stackable GmbH",
144-
"purl": "$purl",
143+
"purl": $purl,
145144
"publisher": "Stackable GmbH"
146145
}
147146
}

0 commit comments

Comments
 (0)