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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user