Skip to content

Commit df1c91b

Browse files
committed
gh-actions: m sbom fname as downloaded from artifact
1 parent 899e33c commit df1c91b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ jobs:
267267
--argjson subjects "$subjects" \
268268
--arg artifactId "$SBOM_ARTIFACT_ID" \
269269
--arg artifactName "$SBOM_ARTIFACT_NAME" \
270-
--arg path "$SBOM_PATH" \
270+
--arg path "$SBOM_FNAME" \
271271
--arg digest "$sbom_digest" \
272272
'{subjects:$subjects,artifactId:$artifactId,artifactName:$artifactName,path:$path,digest:$digest}'
273273
)
@@ -283,7 +283,7 @@ jobs:
283283
printf 'vcs-ver=%s\n' "$VCSVER" >> "$GITHUB_OUTPUT"
284284
shell: bash
285285
env:
286-
SBOM_PATH: _manifest/spdx_2.2/manifest.spdx.json
286+
SBOM_FNAME: manifest.spdx.json
287287
SBOM_ARTIFACT_ID: ${{ steps.sbom-upload.outputs.artifact-id }}
288288
SBOM_ARTIFACT_NAME: ${{ format('firestack-sbom-{0}', github.sha) }}
289289
GRYPE_SARIF: ${{ steps.gr.outputs.sarif }}

.github/workflows/provenance.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ jobs:
6969
SBOM_DIGEST: ${{ fromJson(inputs.sbom-info).digest }}
7070
run: |
7171
set -euo pipefail
72+
ls -ltr sbom
73+
7274
file="${SBOM_PATH}"
7375
if [ ! -f "$file" ]; then
7476
echo "missing SBOM file: $file" >&2

0 commit comments

Comments
 (0)