delete_old_oci_images: Add manifest list to the Accept header
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
9ec1b2190b
commit
98f48a4188
|
@ -72,7 +72,10 @@ def main():
|
|||
import requests
|
||||
|
||||
headers = {
|
||||
"Accept": "application/vnd.docker.distribution.manifest.v2+json, application/vnd.oci.image.index.v1+json, application/vnd.oci.image.manifest.v1+json"
|
||||
"Accept": "application/vnd.docker.distribution.manifest.v2+json,"\
|
||||
"application/vnd.oci.image.index.v1+json,"\
|
||||
"application/vnd.oci.image.manifest.v1+json,"\
|
||||
"application/vnd.docker.distribution.manifest.list.v2+json"\
|
||||
}
|
||||
except ImportError:
|
||||
module.fail_json(msg="the requests python module not found on the target system")
|
||||
|
|
Loading…
Reference in New Issue