diff --git a/includes/rate-limit-check.yml b/includes/rate-limit-check.yml index 973636f24dc256259e167d429374e4f337664785..a2bcdacc9ea15b64b392596311eedf11837ec5e2 100644 --- a/includes/rate-limit-check.yml +++ b/includes/rate-limit-check.yml @@ -6,4 +6,4 @@ - "apk add curl jq" script: - | - TOKEN=$(curl "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq --raw-output .token) && curl --head --header "Authorization: Bearer $TOKEN" "https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest" 2>&1 + TOKEN=$(curl "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq --raw-output .token) && curl --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/$IMAGE/manifests/latest