From 7fa86b263f09f203247e22e046ecdb49f8ae5bc4 Mon Sep 17 00:00:00 2001 From: Marco Wettstein <maw@panter.ch> Date: Sat, 20 Mar 2021 15:41:18 +0100 Subject: [PATCH] fix --- includes/rate-limit-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/rate-limit-check.yml b/includes/rate-limit-check.yml index 973636f..a2bcdac 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 -- GitLab