We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
omitempty
repository_ref
1 parent dea101d commit 6a6e17cCopy full SHA for 6a6e17c
pkg/registry/types.go
@@ -79,7 +79,7 @@ type ImageMetadata struct {
79
type Provenance struct {
80
SigstoreURL string `json:"sigstore_url" yaml:"sigstore_url"`
81
RepositoryURI string `json:"repository_uri" yaml:"repository_uri"`
82
- RepositoryRef string `json:"repository_ref" yaml:"repository_ref"`
+ RepositoryRef string `json:"repository_ref,omitempty" yaml:"repository_ref,omitempty"`
83
SignerIdentity string `json:"signer_identity" yaml:"signer_identity"`
84
RunnerEnvironment string `json:"runner_environment" yaml:"runner_environment"`
85
CertIssuer string `json:"cert_issuer" yaml:"cert_issuer"`
0 commit comments