From 57e3ae89ed6184b3c66bd33c2babdf2d07f072e8 Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Thu, 6 Mar 2025 20:12:20 +0100
Subject: [PATCH] Need regctl

Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at>
---
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a9348288f8..6a69743977 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -459,8 +459,9 @@ 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}"
-    - echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
-    - "apk add --no-cache bash regclient"
+    - "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"
+    - "chmod +x /usr/local/sbin/regctl"
   script:
     - bash ./.gitlab/remove-unsupported-images.sh
 
-- 
GitLab