@@ -49,14 +49,14 @@ docker pull "$registry_url_prefix"/"$imagename":"$basetag"
4949echo " Getting digest for $registry_url_prefix /$imagename :$basetag "
5050containerdigest=$( docker inspect " $registry_url_prefix " /" $imagename " :" $basetag " --format ' {{ index .RepoDigests 0 }}' | cut -d ' @' -f 2)
5151echo " found: ${containerdigest} "
52- echo " ::set-output name= container-digest:: ${containerdigest} "
52+ echo " { container-digest}={ ${containerdigest} } " >> " $GITHUB_OUTPUT "
5353
5454echo " --------------------------------------------------------------------------------------------"
5555
5656echo " Getting tags"
5757containertags=$( docker inspect " $registry_url_prefix " /" $imagename " :" $basetag " --format ' {{ join .RepoTags "\n" }}' | sed ' s/.*://' | paste -s -d ' ,' -)
5858echo " found: ${containertags} "
59- echo " ::set-output name= container-tags:: ${containertags} "
59+ echo " { container-tags}={ ${containertags} } " >> " $GITHUB_OUTPUT "
6060
6161echo " ============================================================================================"
6262echo " Finished getting docker digest and tags"
107107 echo " -------------------------------------------------------------------------------------------"
108108 echo " provenance.json "
109109 echo " -------------------------------------------------------------------------------------------"
110- echo " ::set-output name= slsa-provenance-file:: provenance.json"
110+ echo " { slsa-provenance-file}={ provenance.json} " >> " $GITHUB_OUTPUT "
111111
112112 echo " ============================================================================================"
113113 echo " Finished getting SLSA Provenance"
142142 echo " Remove formatting"
143143 jq -c . sbom-spdx-formatted.json > sbom-spdx.json
144144
145- echo " ::set-output name= sbom-file:: sbom-spdx.json"
145+ echo " { sbom-file}={ sbom-spdx.json} " >> " $GITHUB_OUTPUT "
146146
147147 echo " ============================================================================================"
148148 echo " Finished getting SBOM"
0 commit comments