Skip to content

Commit

Permalink
fix cosign command in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Bohan Chen <[email protected]>
  • Loading branch information
chenbh committed Jun 11, 2024
1 parent ebd648a commit 57c6e82
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/slsa/sign_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,11 @@ MC4CAQAwBQYDK2VwBCIEIATRP4Od4Mta/KjTO7c99nfGL/PCUn9Grn7mnXCiIXuW
it("generates the same image tag", func() {
// attest image via cosign
cmd := attest.AttestCommand{
KeyOpts: options.KeyOpts{KeyRef: privKeyFile},
TlogUpload: false,
PredicateType: options.PredicateSLSA1,
PredicatePath: predicateFile,
KeyOpts: options.KeyOpts{KeyRef: privKeyFile},
TlogUpload: false,
PredicateType: options.PredicateSLSA1,
PredicatePath: predicateFile,
RekorEntryType: "dsse",
}
err := cmd.Exec(ctx, digest)
require.NoError(t, err)
Expand Down

0 comments on commit 57c6e82

Please sign in to comment.