Now going for /token, because only /v2/ does not work
This commit is contained in:
@@ -30,7 +30,7 @@ runs:
|
|||||||
response=$(curl -s -w "\n%{http_code}" \
|
response=$(curl -s -w "\n%{http_code}" \
|
||||||
-H "Authorization: Basic $BASE64_AUTH" \
|
-H "Authorization: Basic $BASE64_AUTH" \
|
||||||
-H "User-Agent: Docker-Client/20.10.12 (linux)" \
|
-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)
|
http_code=$(echo "$response" | tail -n 1)
|
||||||
response_body=$(echo "$response" | head -n -1)
|
response_body=$(echo "$response" | head -n -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user