From 61a96d67092bf65de3f30d6b0242d16323c01188 Mon Sep 17 00:00:00 2001 From: Jimmi Dyson Date: Sun, 15 Sep 2024 19:59:41 +0100 Subject: [PATCH] ci: Remove hard-coded pause image removal --- .github/workflows/build-kind-image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-kind-image.yaml b/.github/workflows/build-kind-image.yaml index 8db21d67038..c88dce401db 100644 --- a/.github/workflows/build-kind-image.yaml +++ b/.github/workflows/build-kind-image.yaml @@ -91,7 +91,7 @@ jobs: tar xz -C /usr/local/bin -- mindthegap; \ nohup containerd & &>/dev/null; \ until crictl info &>/dev/null; do sleep 0.5; done; \ - crictl rmi registry.k8s.io/pause:3.7; \ + crictl rmi "$(crictl images | grep pause | awk '{print $1,$2}' OFS=":")"; \ mindthegap import image-bundle --image-bundle /tmp/images.tar; \ rm -f /usr/local/bin/mindthegap; \ pkill containerd"