|
|
@ -773,6 +773,8 @@ func (c *Client) Push(data []byte, ref string, options ...PushOption) (*PushResu
|
|
|
|
repository.PlainHTTP = c.plainHTTP
|
|
|
|
repository.PlainHTTP = c.plainHTTP
|
|
|
|
repository.Client = c.authorizer
|
|
|
|
repository.Client = c.authorizer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ctx = auth.AppendRepositoryScope(ctx, repository.Reference, auth.ActionPush, auth.ActionPull)
|
|
|
|
|
|
|
|
|
|
|
|
manifestDescriptor, err = oras.ExtendedCopy(ctx, memoryStore, parsedRef.String(), repository, parsedRef.String(), oras.DefaultExtendedCopyOptions)
|
|
|
|
manifestDescriptor, err = oras.ExtendedCopy(ctx, memoryStore, parsedRef.String(), repository, parsedRef.String(), oras.DefaultExtendedCopyOptions)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|