File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ jobs:
196196 actions : read
197197
198198 release :
199- name : Release
199+ name : Release Files
200200 needs : [merge-multiarch, attest-sbom, generate-provenance]
201201 runs-on : ubuntu-latest
202202 permissions :
@@ -207,6 +207,17 @@ jobs:
207207 with :
208208 name : sbom.spdx.json
209209
210+ - uses : fontebasso/generate-licenses-md-from-sbom@v1
211+ with :
212+ sbom-file : sbom.spdx.json
213+ output-file : LICENSES.md
214+ overrides : |
215+ nginx=BSD-2-Clause
216+ php-cli=PHP-3.01
217+ php-fpm=PHP-3.01
218+ fontebasso/php-nginx=MIT
219+ *******/php-nginx=MIT
220+
210221 - name : Install Cosign
211222212223
@@ -218,7 +229,7 @@ jobs:
218229
219230 - name : Generate checksum.txt
220231 run : |
221- sha256sum sbom.spdx.json provenance.intoto.jsonl > checksum.txt
232+ sha256sum sbom.spdx.json provenance.intoto.jsonl LICENSES.md > checksum.txt
222233
223234 - name : Sign checksum.txt with Cosign (OIDC keyless)
224235 env :
@@ -234,4 +245,5 @@ jobs:
234245 provenance.intoto.jsonl
235246 checksum.txt
236247 checksum.txt.sig
248+ LICENSES.md
237249 continue-on-error : false
You can’t perform that action at this time.
0 commit comments