diff --git a/.github/workflows/csm-release-driver-module.yaml b/.github/workflows/csm-release-driver-module.yaml index 35d9aadb..8e19ad9a 100644 --- a/.github/workflows/csm-release-driver-module.yaml +++ b/.github/workflows/csm-release-driver-module.yaml @@ -87,7 +87,7 @@ jobs: for image in $images_list; do - latest_version=$(curl -s https://quay.io/api/v1/repository/$REPOSITORY/$image/tag/?limit=100 | jq -r '.tags[].name' | sort -V | tail -n 1) + latest_version=$(curl -s https://quay.io/api/v1/repository/$REPOSITORY/$image?tab=tags | jq -r '.tags[].name' | sort -V | tail -n 1) echo "Current latest version of $image:$latest_version" IFS='.' read -r -a version_parts <<< "$latest_version" diff --git a/.github/workflows/release-image.yaml b/.github/workflows/release-image.yaml index 8ecaf2e3..9de2e100 100644 --- a/.github/workflows/release-image.yaml +++ b/.github/workflows/release-image.yaml @@ -35,7 +35,7 @@ jobs: REPOSITORY="dell/container-storage-modules" for image in $images_list; do - latest_version=$(curl -s https://quay.io/api/v1/repository/$REPOSITORY/$image/tag/?limit=100 | jq -r '.tags[].name' | sort -V | tail -n 1) + latest_version=$(curl -s https://quay.io/api/v1/repository/$REPOSITORY/$image?tab=tags | jq -r '.tags[].name' | sort -V | tail -n 1) echo "Current latest version of $image:$latest_version" IFS='.' read -r -a version_parts <<< "$latest_version"