Now going for /token, because only /v2/ does not work

This commit is contained in:
2024-12-21 21:53:02 +01:00
parent b634fa47f4
commit 58c4bfb8bc

View File

@@ -30,7 +30,7 @@ runs:
response=$(curl -s -w "\n%{http_code}" \
-H "Authorization: Basic $BASE64_AUTH" \
-H "User-Agent: Docker-Client/20.10.12 (linux)" \
"https://${PREFIXLESS_REGISTRY}/v2/")
"https://${PREFIXLESS_REGISTRY}/v2/token")
http_code=$(echo "$response" | tail -n 1)
response_body=$(echo "$response" | head -n -1)