Skip to content

Commit 1f7adc0

Browse files
committed
Don't use dockerhub to avoid hitting rate limits in CI
Signed-off-by: Jan Dubois <[email protected]>
1 parent 4554a35 commit 1f7adc0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hack/test-example.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,11 @@ if [[ -n ${CHECKS["containerd-user"]} ]]; then
170170
mkdir -p "$hometmp"
171171
defer "rm -rf \"$hometmp\""
172172
set -x
173-
limactl shell "$NAME" nerdctl pull alpine
173+
alpine_image="ghcr.io/containerd/alpine:3.14.0"
174+
limactl shell "$NAME" nerdctl pull ${alpine_image}
174175
echo "random-content-${RANDOM}" >"$hometmp/random"
175176
expected="$(cat "$hometmp/random")"
176-
got="$(limactl shell "$NAME" nerdctl run --rm -v "$hometmp/random":/mnt/foo alpine cat /mnt/foo)"
177+
got="$(limactl shell "$NAME" nerdctl run --rm -v "$hometmp/random":/mnt/foo ${alpine_image} cat /mnt/foo)"
177178
INFO "$hometmp/random: expected=${expected}, got=${got}"
178179
if [ "$got" != "$expected" ]; then
179180
ERROR "Home directory is not shared?"

0 commit comments

Comments
 (0)