Skip to content

Commit

Permalink
use full path to ls instead of assuming any path is set to include th…
Browse files Browse the repository at this point in the history
…e contents of /bin
  • Loading branch information
Amndeep7 authored Oct 14, 2024
1 parent 03d7152 commit a3489db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

- name: sbomtool check permissions in container
if: always()
run: docker run -t -v /tmp/sbomtool/directory/_manifest/spdx_2.2/manifest_fixed.spdx.json:/tmp/sbomtool_directory.spdx.json -v /tmp/sbomtool/directory.cdx.json:/tmp/sbomtool_directory.cdx.json --entrypoint /bin/sh cyclonedx/cyclonedx-cli:latest -- ls -lah /tmp
run: docker run -t -v /tmp/sbomtool/directory/_manifest/spdx_2.2/manifest_fixed.spdx.json:/tmp/sbomtool_directory.spdx.json -v /tmp/sbomtool/directory.cdx.json:/tmp/sbomtool_directory.cdx.json --entrypoint /bin/bash cyclonedx/cyclonedx-cli:latest -- /bin/ls -lah /tmp

- name: sbomtool directory spdx converted
if: always()
Expand Down

0 comments on commit a3489db

Please sign in to comment.