Skip to content

Commit 57c6e82

Browse files
author
Bohan Chen
committed
fix cosign command in tests
Signed-off-by: Bohan Chen <bohanc@vmware.com>
1 parent ebd648a commit 57c6e82

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

pkg/slsa/sign_test.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,11 @@ MC4CAQAwBQYDK2VwBCIEIATRP4Od4Mta/KjTO7c99nfGL/PCUn9Grn7mnXCiIXuW
254254
it("generates the same image tag", func() {
255255
// attest image via cosign
256256
cmd := attest.AttestCommand{
257-
KeyOpts: options.KeyOpts{KeyRef: privKeyFile},
258-
TlogUpload: false,
259-
PredicateType: options.PredicateSLSA1,
260-
PredicatePath: predicateFile,
257+
KeyOpts: options.KeyOpts{KeyRef: privKeyFile},
258+
TlogUpload: false,
259+
PredicateType: options.PredicateSLSA1,
260+
PredicatePath: predicateFile,
261+
RekorEntryType: "dsse",
261262
}
262263
err := cmd.Exec(ctx, digest)
263264
require.NoError(t, err)

0 commit comments

Comments
 (0)