From a3489dbb84dfeaa0bde93f286463d647fe214276 Mon Sep 17 00:00:00 2001 From: Amndeep Singh Mann Date: Mon, 14 Oct 2024 03:10:12 -0400 Subject: [PATCH] use full path to ls instead of assuming any path is set to include the contents of /bin --- .github/workflows/sbom.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sbom.yml b/.github/workflows/sbom.yml index 12d1ab7934..8f22a966d7 100644 --- a/.github/workflows/sbom.yml +++ b/.github/workflows/sbom.yml @@ -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()