diff --git a/ci/promote.sh b/ci/promote.sh index fc07439..847112f 100755 --- a/ci/promote.sh +++ b/ci/promote.sh @@ -392,7 +392,10 @@ elif explicit: for repo in e["repos"]: url = f"http://{HARBOR_HOST}/v2/mixingx/{repo}/manifests/{e['harborTag']}" req = urllib.request.Request(url, headers={ - "Accept": "application/vnd.docker.distribution.manifest.v2+json", + "Accept": ("application/vnd.oci.image.index.v1+json, " + "application/vnd.oci.image.manifest.v1+json, " + "application/vnd.docker.distribution.manifest.v2+json, " + "application/vnd.docker.distribution.manifest.list.v2+json"), "Authorization": f"Basic {auth}"}) try: with urllib.request.urlopen(req, timeout=15) as r: