-
-
Notifications
You must be signed in to change notification settings - Fork 672
Closed
Labels
Description
Steps To Reproduce
Elastic search install fails when the first 50 tags on https://www.docker.elastic.co/r/elasticsearch are SHA hashes only:
curl -s -m 900 https://www.docker.elastic.co/r/elasticsearch | grep -Eo "[[:digit:]]\\.[[:digit:]][[:digit:]]\\.[[:digit:]]" | sort --version-sort
1.53.5
1.53.5
can be fixed by increasing limit to first 500 lines:
curl -s -m 900 https://www.docker.elastic.co/r/elasticsearch?limit=500 | grep -Eo "[[:digit:]]\\.[[:digit:]][[:digit:]]\\.[[:digit:]]" | sort --version-sort | tail -1
8.15.1
Expected Result
Bash line should get the latest elasticsearch docker tag, e.g. 8.XX.X
Actual Result
Bash line returns wrong value if the first 50 tags on https://www.docker.elastic.co/r/elasticsearch are SHA hashes only:
curl -s -m 900 https://www.docker.elastic.co/r/elasticsearch | grep -Eo "[[:digit:]]\\.[[:digit:]][[:digit:]]\\.[[:digit:]]" | sort --version-sort
1.53.5
1.53.5
Screenshots, Videos, or Pastebins
No response
Additional Context
No response
Build Version
Nextcloud Hub 9 (30.0.0)
Environment
By using the scripts
Environment Details
No response
Reactions are currently unavailable