From 39a488ca079b7f83c461450ca78e02bde3162a5d Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 31 Mar 2021 20:38:53 +0100 Subject: [PATCH] github_packages: update mediaType. This custom type will allow better display in GitHub Packages. --- Library/Homebrew/github_packages.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/github_packages.rb b/Library/Homebrew/github_packages.rb index be14ac19bc..61ebd4b5bf 100644 --- a/Library/Homebrew/github_packages.rb +++ b/Library/Homebrew/github_packages.rb @@ -211,12 +211,12 @@ class GitHubPackages image_manifest = { schemaVersion: 2, config: { - mediaType: "application/vnd.oci.image.config.v1+json", + mediaType: "application/vnd.homebrew.formula.config.v1+json", digest: "sha256:#{config_json_sha256}", size: config_json_size, }, layers: [{ - mediaType: "application/vnd.oci.image.layer.v1.tar+gzip", + mediaType: "application/vnd.homebrew.bottle.layer.v1.tar+gzip", digest: "sha256:#{tar_gz_sha256}", size: File.size(local_file), annotations: {