We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28d9702 commit fa7a1afCopy full SHA for fa7a1af
.github/workflows/watch-dependencies.yaml
@@ -63,7 +63,7 @@ jobs:
63
run: |
64
latest_tag=$(
65
docker run --rm quay.io/skopeo/stable list-tags docker://${{ matrix.registry }}/${{ matrix.repository }} \
66
- | jq -r '[.Tags[] | select(. | match("^\\d+\\.\\d+\\.\\d+$") | .string)] | sort_by(split(".") | map(tonumber)) | last'
+ | jq -r '[.Tags[] | select(. | match("^v?\\d+\\.\\d+\\.\\d+$") | .string)] | sort_by(split(".") | map(ltrimstr("v") | tonumber)) | last'
67
)
68
echo "tag=$latest_tag" >> $GITHUB_OUTPUT
69
0 commit comments