Skip to content

Commit

Permalink
fix bug (oras-project#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
shizhMSFT authored and jdolitsky committed Apr 30, 2019
1 parent 9f76690 commit 39de067
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/oras/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ func pack(provider content.Provider, descriptors []ocispec.Descriptor, opts *pus
} else {
config = *opts.config
}
config.Annotations = opts.configAnnotations
if opts.configAnnotations != nil {
config.Annotations = opts.configAnnotations
}

// Manifest
manifest := ocispec.Manifest{
Expand Down

0 comments on commit 39de067

Please sign in to comment.