- commit
- 48117d9d6a4dc75a66a1137db05296d4e686896b
- parent
- 9d2224f3c6100d18e2154043700f5c4e48d7045f
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2026-04-21 09:07
include Accept header in 404 check
Diffstat
| M | d-pull | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/d-pull b/d-pull
@@ -51,7 +51,7 @@ auth_token=$(curl -s "$auth_url&scope=repository:$lib/$img:pull" | jq -r '.token 51 51 auth="Authorization: Bearer $auth_token" 52 52 53 53 # fail if server reports error54 -1 curl --head -f --no-progress-meter -o /dev/null -H "$auth" "$url/manifests/$tag"-1 54 curl --head -f --no-progress-meter -o /dev/null -H "$auth" -H "Accept: $MANIFEST_TYPE" "$url/manifests/$tag" 55 55 56 56 mkdir -p "$dir/rootfs" 57 57 echo "$lib/$img:$tag" > "$dir/image.txt"