chore: Increase the size of the search for images (#15)

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
This commit is contained in:
Jonathan Gonzalez V
2022-06-03 10:17:30 -04:00
committed by GitHub
parent 626fb0d88a
commit d7a76760d0

View File

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