github_packages: update mediaType.
This custom type will allow better display in GitHub Packages.
This commit is contained in:
parent
6d883d1808
commit
39a488ca07
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user