Skip to content

Commit ca1faeb

Browse files
Merge pull request #617 from viroel/filter_active_tags
Filter active tags in quay.rdoproject.io registry
2 parents 70f0d28 + f363796 commit ca1faeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/pin-bundle-images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ for MOD_PATH in $(go list -mod=readonly -m -json all | jq -r '. | select(.Path |
5555
SHA=$(curl -s ${REPO_CURL_URL}/$BASE-operator-bundle/tags/list | jq -r .tags[] | sort -u | grep $REF)
5656
elif [[ "${CURL_REGISTRY}" != "quay.io" ]]; then
5757
# quay.rdoproject.io doesn't support filter_tag_name, so increase limit to 100
58-
SHA=$(curl -s ${REPO_CURL_URL}/$BASE-operator-bundle/tag/?limit=100 | jq -r .tags[].name | sort -u | grep $REF)
58+
SHA=$(curl -s ${REPO_CURL_URL}/$BASE-operator-bundle/tag/?onlyActiveTags=true?limit=100 | jq -r .tags[].name | sort -u | grep $REF)
5959
else
6060
SHA=$(curl -s ${REPO_CURL_URL}/$BASE-operator-bundle/tag/?onlyActiveTags=true\&filter_tag_name=like:$REF | jq -r .tags[].name)
6161
fi

0 commit comments

Comments
 (0)