This commit is contained in:
Chris Frohoff
2022-05-24 19:42:17 -07:00
parent 26f38bb5df
commit b4f8062191
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
- id: get-versions
run: |
URL="https://hub.docker.com/v2/repositories/vulhub/java/tags/?page_size=100"
VERSIONS=$(curl -s $URL "$URL&page=2" | jq -rc '[[.results[].name] | _nwise(2) | join(" ")]')
VERSIONS=$(curl -s $URL "$URL&page=2" | jq -rc '[[.results[].name] | _nwise(1) | join(" ")]')
echo "::set-output name=versions::$VERSIONS"
outputs:
versions: ${{ steps.get-versions.outputs.versions }}