Merge pull request #11002 from Homebrew/revert-10978-github_packages_media_type

Revert "github_packages: update mediaType."
This commit is contained in:
Mike McQuaid 2021-04-02 10:14:26 +01:00 committed by GitHub
commit d407a86878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,12 +263,12 @@ class GitHubPackages
image_manifest = {
schemaVersion: 2,
config: {
mediaType: "application/vnd.homebrew.formula.config.v1+json",
mediaType: "application/vnd.oci.image.config.v1+json",
digest: "sha256:#{config_json_sha256}",
size: config_json_size,
},
layers: [{
mediaType: "application/vnd.homebrew.bottle.layer.v1.tar+gzip",
mediaType: "application/vnd.oci.image.layer.v1.tar+gzip",
digest: "sha256:#{tar_gz_sha256}",
size: File.size(local_file),
annotations: {