Skip to content

Commit

Permalink
SBOM
Browse files Browse the repository at this point in the history
  • Loading branch information
vpomuran committed Jul 2, 2024
1 parent 82c027a commit 3b0980f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
rm -rf /var/tmp/sbom_output
mkdir /var/tmp/sbom_output
$RUNNER_TEMP/sbom-tool generate -m /var/tmp/sbom_output -li true -pm true -b build-and-test-webapp -bc . -pn Test -pv 1.0.0 -ps MyCompany -nsb https://sbom.mycompany.com -V Verbose
dck_cmd=`grep 'docker build' build_container.sh | sed 's/\.$/-o \/var\/tmp\/webapp_docker ./'`
dck_cmd=`grep 'docker build' build_container.sh`
echo "DCK_CMD == ${dck_cmd}"
img=`echo ${dck_cmd} | awk '{print $4}'`
${dck_cmd}
img=`ls /var/tmp/webapp_docker`
echo "IMG = ${img}"
$RUNNER_TEMP/sbom-tool generate -m /var/tmp/sbom_output -li true -pm true -b /var/tmp/webapp_docker -pn Test -pv 1.0.0 -ps MyCompany -nsb https://sbom.mycompany.com -V Verbose -di ${img}
Expand Down

0 comments on commit 3b0980f

Please sign in to comment.