mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-12 15:50:15 -08:00
test: use forked images (#7755)
Signed-off-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# Configuration file for both shell scripts and Go programs
|
||||
TEST_IMAGES=ghcr.io/aquasecurity/trivy-test-images
|
||||
TEST_VM_IMAGES=ghcr.io/aquasecurity/trivy-test-vm-images
|
||||
TEST_IMAGES=ghcr.io/knqyf263/trivy-test-images
|
||||
TEST_VM_IMAGES=ghcr.io/knqyf263/trivy-test-vm-images
|
||||
|
||||
@@ -9,7 +9,6 @@ import (
|
||||
slsa "github.com/in-toto/in-toto-golang/in_toto/slsa_provenance/common"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/aquasecurity/trivy/internal/testutil"
|
||||
"github.com/aquasecurity/trivy/pkg/attestation"
|
||||
)
|
||||
|
||||
@@ -28,7 +27,7 @@ func TestStatement_UnmarshalJSON(t *testing.T) {
|
||||
PredicateType: "cosign.sigstore.dev/attestation/v1",
|
||||
Subject: []in_toto.Subject{
|
||||
{
|
||||
Name: testutil.ImageName("", "", ""),
|
||||
Name: "ghcr.io/aquasecurity/trivy-test-images", // Defined in the attestations.json file
|
||||
Digest: slsa.DigestSet{
|
||||
"sha256": "72c42ed48c3a2db31b7dafe17d275b634664a708d901ec9fd57b1529280f01fb",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user