From 1cee0e4cd3afd7043b517227828d44a4316f2872 Mon Sep 17 00:00:00 2001 From: fanquake Date: Wed, 28 Jan 2026 15:40:00 +0000 Subject: [PATCH] ci: detect apk usage generally Rather than listing image names, which makes it less easy to run custom CI jobs. --- ci/test/01_base_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test/01_base_install.sh b/ci/test/01_base_install.sh index 3e0bc4666ef..d62221a7b77 100755 --- a/ci/test/01_base_install.sh +++ b/ci/test/01_base_install.sh @@ -37,7 +37,7 @@ if [ -n "${APT_LLVM_V}" ]; then ) fi -if [[ $CI_IMAGE_NAME_TAG == *alpine* ]]; then +if command -v apk >/dev/null 2>&1; then ${CI_RETRY_EXE} apk update # shellcheck disable=SC2086 ${CI_RETRY_EXE} apk add --no-cache $CI_BASE_PACKAGES $PACKAGES