This commit is contained in:
Chris Frohoff
2022-03-24 22:54:47 -07:00
parent 07c7dc9374
commit 91571eb883
+1 -1
View File
@@ -53,7 +53,7 @@ jobs:
# 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 "$URL&page=2" | jq -rc '[[.results[].name] | _nwise(3) | join(" ")]')
echo "::set-output name=versions::$VERSIONS" echo "::set-output name=versions::$VERSIONS"
outputs: outputs: