diff --git a/util/imagetools/create.go b/util/imagetools/create.go index b266286e7..89eb7ab0b 100644 --- a/util/imagetools/create.go +++ b/util/imagetools/create.go @@ -222,6 +222,7 @@ func (r *Resolver) Push(ctx context.Context, ref reference.Named, desc ocispecs. func (r *Resolver) Copy(ctx context.Context, src *Source, dest reference.Named) error { ctx = remotes.WithMediaTypeKeyPrefix(ctx, "application/vnd.in-toto+json", "intoto") + ctx = remotes.WithMediaTypeKeyPrefix(ctx, "application/vnd.oci.empty.v1+json", "empty") // push by digest p, err := r.resolver().Pusher(ctx, dest.Name())