diff --git a/includes/rate-limit-check.yml b/includes/rate-limit-check.yml
index 4464fdb8ae750ad7e4e05a68f114d63fc08739ae..22f0ff5db3a7eb03c65f65149e60c93b710db1ba 100644
--- a/includes/rate-limit-check.yml
+++ b/includes/rate-limit-check.yml
@@ -2,7 +2,8 @@
 .check-docker-hub-rate-limit:
   stage: setup
   image: alpine:latest
-  before_script: apk add curl jq
+  before_script:
+    - 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