Merge pull request #1845 from nextcloud/enh/noid/accept-new-oci-format

also accept application/vnd.oci.image.index.v1+json for newer buildx …
This commit is contained in:
Simon L
2023-01-27 18:36:14 +01:00
committed by GitHub

View File

@@ -39,7 +39,7 @@ class DockerHubManager
'https://registry-1.docker.io/v2/'.$name.'/manifests/' . $tag,
[
'headers' => [
'Accept' => 'application/vnd.docker.distribution.manifest.v2+json',
'Accept' => 'application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.index.v1+json',
'Authorization' => 'Bearer ' . $authToken,
],
]