Skip to content

Commit

Permalink
saving copies of enriched sbom as final to make it clear
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Dunbar-Hall <[email protected]>
  • Loading branch information
idunbarh committed Oct 1, 2024
1 parent 4d57439 commit 13ac670
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/phase_1_keycloak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,23 @@ jobs:
name: enriched-keycloak-sbom-cyclonedx
path: "/tmp/enriched_keycloak-sbom.cdx.json"

- name: Save Final SBOMs
run: |
cp /tmp/enriched_keycloak-sbom.spdx.json /tmp/final_keycloak-sbom.spdx.json
cp /tmp/enriched_keycloak-sbom.cdx.json /tmp/final_keycloak-sbom.cdx.json
- name: Upload Final SPDX SBOM
uses: actions/upload-artifact@v4
with:
name: final-keycloak-sbom-spdx
path: "/tmp/final_keycloak-sbom.spdx.json"

- name: Upload Final CycloneDX SBOM
uses: actions/upload-artifact@v4
with:
name: final-keycloak-sbom-cyclonedx
path: "/tmp/final_keycloak-sbom.cdx.json"

Validate:
needs: Enrich
runs-on: ubuntu-latest
Expand All @@ -174,7 +191,7 @@ jobs:
- name: "Display SBOM quality score through sbomqs"
run: |
echo \`\`\` >> ${GITHUB_STEP_SUMMARY}
for SBOM in $(find . -iname enriched*.json); do
for SBOM in $(find . -iname final*.json); do
/tmp/sbomqs score "$SBOM" >> ${GITHUB_STEP_SUMMARY}
done
echo \`\`\` >> ${GITHUB_STEP_SUMMARY}

0 comments on commit 13ac670

Please sign in to comment.