chore: increase page_size for fetch_postgres_image_version() (#100)

Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
This commit is contained in:
Niccolò Fei
2024-05-17 12:11:30 +02:00
committed by GitHub
parent 8093cb966f
commit 87c2100882

View File

@@ -20,7 +20,7 @@ fetch_postgres_image_version() {
local suite="$1"; shift
local distro="$1"; shift
local item="$1"; shift
curl -SsL "https://registry.hub.docker.com/v2/repositories/library/postgres/tags/?name=${distro}&ordering=last_updated&page_size=20" | \
curl -SsL "https://registry.hub.docker.com/v2/repositories/library/postgres/tags/?name=${distro}&ordering=last_updated&page_size=50" | \
jq -c ".results[] | select( .name | match(\"^${suite}.[a-z0-9]+-${distro}$\"))" | \
jq -r ".${item}" | \
head -n1