From 0dd0e1d7e7a22ec011fac16566d1a3c5a2bf84ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Fei?= Date: Mon, 25 Nov 2024 14:08:57 +0100 Subject: [PATCH] fix: adjust grep pattern 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 6a9dd258..1d27d685 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' | grep -v '-ora' | 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=(