Skip to content

Commit

Permalink
Merge pull request #1369 from SaschaSchwarze0/sascha-improve-buildah-…
Browse files Browse the repository at this point in the history
…query

Improve BuildAh query
  • Loading branch information
openshift-merge-robot authored Sep 1, 2023
2 parents 76d07c0 + 1d680e0 commit 55d4ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/check-latest-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function update() {
# Determine the latest tag
QUERY=".tag_name"
if [[ ${IMAGE} == *buildah* ]]; then
QUERY=".tags | .[0].name"
QUERY=".tags | sort_by(.name) | reverse | .[0].name"
fi
LATEST_TAG="$(curl --silent --retry 3 "${LATEST_RELEASE_URL}" | jq --raw-output "${QUERY}")"

Expand Down

0 comments on commit 55d4ae9

Please sign in to comment.