Skip to content

Commit

Permalink
Add buildType to slsaprovenance attestation
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Moore <[email protected]>
  • Loading branch information
mattmoor committed Aug 4, 2022
1 parent b99e2b5 commit 7d7fbd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ func TestSaveLoadAttestation(t *testing.T) {
must(verify(pubKeyPath, imgName, true, nil, ""), t)

// now, append an attestation to the image
slsaAttestation := `{ "builder": { "id": "2" }, "recipe": {} }`
slsaAttestation := `{ "buildType": "x", "builder": { "id": "2" }, "recipe": {} }`
slsaAttestationPath := filepath.Join(td, "attestation.slsa.json")
if err := os.WriteFile(slsaAttestationPath, []byte(slsaAttestation), 0600); err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 7d7fbd2

Please sign in to comment.