Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit f864fbe

Browse files
Update attestation script to include LICENSE and README.md attachments, and refine README scenario description
1 parent 31258e9 commit f864fbe

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

multi-repo-attestation/1.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ tree -L 4
2525
cd devbox-demo
2626
echo "Current directory: $(pwd)"
2727
echo "Attesting devbox-demo repository"
28-
kosli attest generic --name app.sbom --trail ${GIT_COMMIT} --attachments LICENSE
29-
kosli attest generic --name app.sbom --trail ${GIT_COMMIT} --commit ${GIT_COMMIT} --attachments README.md
28+
kosli attest generic --name app.sbom --trail ${GIT_COMMIT} --commit ${GIT_COMMIT} --repo-root . --attachments LICENSE
29+
kosli attest generic --name app.sbom --trail ${GIT_COMMIT} --attachments README.md
3030

3131
kosli get trail -o json ${GIT_COMMIT} > data.json

multi-repo-attestation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Create a scenario where you clone down a 2nd repo, and performs an attestation i
88
* Attest one artifact
99
* Clone down another repo: https://github.com/sofusalbertsen/devbox-demo
1010
* Attest files from the second repo with two different styles:
11-
* attest to the trail
1211
* Attest to the trail AND the HEAD commit from parent repo.
12+
* attest to the trail, with no other additions.
1313

1414
Repo looks like this:
1515

0 commit comments

Comments
 (0)