This commit is contained in:
Chris Frohoff
2022-03-24 22:52:59 -07:00
parent 2812eae169
commit 07c7dc9374
+1 -1
View File
@@ -52,7 +52,7 @@ jobs:
- id: get-versions - id: get-versions
# TODO paging # TODO paging
run: | run: |
URL=https://hub.docker.com/v2/repositories/vulhub/java/tags/?page_size=100 URL="https://hub.docker.com/v2/repositories/vulhub/java/tags/?page_size=100"
VERSIONS=$((curl -s $URL && curl -s "$URL&page=2") | jq -rc '[[.results[].name] | _nwise(3) | join(" ")]') VERSIONS=$((curl -s $URL && curl -s "$URL&page=2") | jq -rc '[[.results[].name] | _nwise(3) | join(" ")]')
echo "::set-output name=versions::$VERSIONS" echo "::set-output name=versions::$VERSIONS"