From de0ba9bb8c1b3744a5d9da974699f8cec0faf16c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Fei?= Date: Fri, 22 Nov 2024 17:07:35 +0100 Subject: [PATCH] chore: exclude edb-ubi ORA images MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Niccolò Fei --- UBI/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UBI/update.sh b/UBI/update.sh index b639f2f8..222dc20c 100755 --- a/UBI/update.sh +++ b/UBI/update.sh @@ -47,7 +47,7 @@ get_latest_ubi_tag() { get_latest_ubi_base() { local ubi_version=$1 rawContent=$(curl -s -L https://quay.io/api/v1/repository/enterprisedb/edb-ubi/tag/?onlyActiveTags=true) - echo "$rawContent" | jq -r --arg uv "$ubi_version" '.tags | sort_by(.start_ts) | .[] | select(.is_manifest_list == true and (.name | startswith($uv))) | .name' | tail -n1 + echo "$rawContent" | jq -r --arg uv "$ubi_version" '.tags | sort_by(.start_ts) | .[] | select(.is_manifest_list == true and (.name | startswith($uv))) | .name' | grep -v '-ora' | tail -n1 } declare -A pgArchMatrix=(