ci: detect apk usage generally

Rather than listing image names, which makes it less easy to
run custom CI jobs.
This commit is contained in:
fanquake committed 2026-02-02 15:21:53 +00:00
1 parent 1ed3de5a6d
commit 1cee0e4cd3
1 file changed
+1 -1
+1 -1
View File
@@ -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