forked from repo-mirrors/cnpg-postgres-containers
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:
committed by
GitHub
parent
626fb0d88a
commit
d7a76760d0
@@ -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
|
||||
|
Reference in New Issue
Block a user