Skip to content

Commit

Permalink
fix(build/registry): switch to RootDigest
Browse files Browse the repository at this point in the history
This is required as a consequence of the falcoctl v0.11 upgrade.

Signed-off-by: Leonardo Grasso <[email protected]>
  • Loading branch information
leogr authored and poiana committed Feb 18, 2025
1 parent d4f5aaf commit a472cb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/registry/pkg/oci/oci.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func handlePlugin(ctx context.Context, cfg *config, plugin *registry.Plugin, oci
Ref: ref,
},
registry.ArtifactMetadata{
Digest: res.Digest,
Digest: res.RootDigest,
Tags: tags,
},
})
Expand Down Expand Up @@ -352,7 +352,7 @@ func handleRule(ctx context.Context, cfg *config, plugin *registry.Plugin,
Ref: ref,
},
registry.ArtifactMetadata{
Digest: res.Digest,
Digest: res.RootDigest,
Tags: tags,
},
})
Expand Down

0 comments on commit a472cb1

Please sign in to comment.