diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6a69743977a24f498d7bc7c0931049c81ee80504..0b342dd8219e600afb0a2645b13ac8bfe30fc997 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -459,8 +459,8 @@ clean-images:
     - "echo ${CI_REGISTRY_PASSWORD} | docker login --username ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY_URL}"
     - "docker logout ${CI_REGISTRY2_URL}"
     - "echo ${CI_REGISTRY2_PASSWORD} | docker login --username ${CI_REGISTRY2_USER} --password-stdin ${CI_REGISTRY2_URL}"
-    - "apk add --no-cache curl bash"
-    - "curl -fsSL -O /usr/local/sbin/regctl https://github.com/regclient/regclient/releases/download/v0.8.2/regctl-linux-amd64"
+    - "apk add --no-cache wget bash"
+    - "wget -O- /usr/local/sbin/regctl https://github.com/regclient/regclient/releases/download/v0.8.2/regctl-linux-amd64"
     - "chmod +x /usr/local/sbin/regctl"
   script:
     - bash ./.gitlab/remove-unsupported-images.sh