File tree Expand file tree Collapse file tree 4 files changed +2
-41
lines changed
.github/actions/shared-steps Expand file tree Collapse file tree 4 files changed +2
-41
lines changed Original file line number Diff line number Diff line change @@ -516,10 +516,8 @@ runs:
516516 - name : Generate SBOM
517517 shell : bash
518518 run : |
519- . ./.venv-sbom/bin/activate
520519 echo "Generating SBOM document of ${{ env.IMAGE_FILE }}"
521- python3 sbom-tools/sbom_generator.py "${{ env.IMAGE_NAME }}" "${{ env.IMAGE_FILE }}.sbom-data.json" "${{ env.IMAGE_FILE }}.sbom.spdx.json"
522- done
520+ sudo .venv-sbom/bin/python3 sbom-tools/sbom_generator.py "${{ env.IMAGE_NAME }}" "${{ env.IMAGE_FILE }}.sbom-data.json" "${{ env.IMAGE_FILE }}.sbom.spdx.json"
523521
524522 # - name: Setup tmate session
525523 # uses: mxschmitt/action-tmate@v3
@@ -616,7 +614,7 @@ runs:
616614 path : ${{ env.IMAGE_FILE }}
617615
618616 - uses : actions/upload-artifact@v4
619- name : Store repo metadata as artifact
617+ name : Store collected sbom data as artifact
620618 id : sbom-data-artifact
621619 if : inputs.store_as_artifact == 'true'
622620 with :
Original file line number Diff line number Diff line change 1010 name : sbom_data
1111 when : collect_sbom_data | bool
1212
13- - name : Include repo metadata dump role (for SBOMs)
14- include_role :
15- name : dump_repo_metadata
16-
1713- name : Find persistent net rules
1814 ansible.builtin.find :
1915 paths : /etc/udev/rules.d
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments