Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions internal/rukpak/source/containers_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ func (i *ContainersImageRegistry) Unpack(ctx context.Context, bundle *BundleSour
//////////////////////////////////////////////////////
if _, err := copy.Image(ctx, policyContext, layoutRef, dockerRef, &copy.Options{
SourceCtx: srcCtx,
// We use the OCI layout as a temporary storage and
// pushing signatures for OCI images is not supported
// so we remove the source signatures when copying.
// Signature validation will still be performed
// accordingly to a provided policy context.
RemoveSignatures: true,
}); err != nil {
return nil, fmt.Errorf("error copying image: %w", err)
}
Expand Down