1
0
mirror of synced 2025-12-19 18:14:56 -05:00

fix: modify script to only build JVM connectors (#64491)

We previously removed the whitelist here since all JVM connectors were migrated.

However this script doesn't work for non-JVM connectors for now. Fix this to only build images for JVM connectors.
This commit is contained in:
Davin Chia
2025-08-04 12:08:34 -07:00
committed by GitHub
parent 4d217de506
commit 63a8e9ba69

View File

@@ -144,6 +144,12 @@ while read -r connector; do
exit 1
fi
# Check if this is a Java connector
if ! grep -qE 'language:\s*java' "$meta"; then
echo " Skipping ${connector} — this script only supports JVM connectors for now."
continue
fi
base_tag=$(yq -r '.data.dockerImageTag' "$meta")
if [[ -z "$base_tag" || "$base_tag" == "null" ]]; then
echo "Error: dockerImageTag missing in ${meta}" >&2