Skip to content

Commit 1ac3262

Browse files
chhsia0tekton-robot
chhsia0
authored andcommitted
Fixed e2e test errors.
1 parent 3c46dcd commit 1ac3262

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cmd/imagedigestexporter/digest.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/google/go-containerregistry/pkg/v1"
4+
v1 "github.com/google/go-containerregistry/pkg/v1"
55
)
66

77
// GetDigest returns the digest of an OCI image index. If there is only one image in the index, the

cmd/imagedigestexporter/digest_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"testing"
55

66
"github.com/google/go-cmp/cmp"
7-
"github.com/google/go-containerregistry/pkg/v1"
7+
v1 "github.com/google/go-containerregistry/pkg/v1"
88
"github.com/google/go-containerregistry/pkg/v1/empty"
99
"github.com/google/go-containerregistry/pkg/v1/random"
1010
)

examples/taskruns/task-multiple-output-image.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ spec:
104104
}
105105
]
106106
}
107-
EOF
107+
EOF
108108
---
109109
apiVersion: tekton.dev/v1alpha1
110110
kind: TaskRun

examples/taskruns/taskrun-cloud-event.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ spec:
112112
{
113113
"mediaType": "application/vnd.oci.image.index.v1+json",
114114
"size": 314,
115-
"digest": "sha256:NOTAREALDIGEST"
115+
"digest": "sha256:deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
116116
}
117117
]
118118
}

0 commit comments

Comments
 (0)