Merge pull request #10978 from MikeMcQuaid/github_packages_media_type
github_packages: update mediaType.
This commit is contained in:
commit
8f78b93351
@ -220,12 +220,12 @@ class GitHubPackages
|
|||||||
image_manifest = {
|
image_manifest = {
|
||||||
schemaVersion: 2,
|
schemaVersion: 2,
|
||||||
config: {
|
config: {
|
||||||
mediaType: "application/vnd.oci.image.config.v1+json",
|
mediaType: "application/vnd.homebrew.formula.config.v1+json",
|
||||||
digest: "sha256:#{config_json_sha256}",
|
digest: "sha256:#{config_json_sha256}",
|
||||||
size: config_json_size,
|
size: config_json_size,
|
||||||
},
|
},
|
||||||
layers: [{
|
layers: [{
|
||||||
mediaType: "application/vnd.oci.image.layer.v1.tar+gzip",
|
mediaType: "application/vnd.homebrew.bottle.layer.v1.tar+gzip",
|
||||||
digest: "sha256:#{tar_gz_sha256}",
|
digest: "sha256:#{tar_gz_sha256}",
|
||||||
size: File.size(local_file),
|
size: File.size(local_file),
|
||||||
annotations: {
|
annotations: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user