Skip to content

Commit

Permalink
fix: platform config type
Browse files Browse the repository at this point in the history
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
  • Loading branch information
TerryHowe committed Oct 27, 2024
1 parent 97cb376 commit 682272a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/root/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func runPush(cmd *cobra.Command, opts *pushOptions) error {
if err != nil {
return err
}
mediaType := oras.MediaTypeUnknownConfig
mediaType := ocispec.MediaTypeImageConfig
if opts.Flag == option.ImageSpecV1_0 && opts.artifactType != "" {
mediaType = opts.artifactType
}
Expand Down

0 comments on commit 682272a

Please sign in to comment.