From 513cc5f2bd2e9abd9505ed610a6563541ef277f7 Mon Sep 17 00:00:00 2001 From: Fernando Alfaro Campos Date: Wed, 17 Sep 2025 15:01:33 -0400 Subject: [PATCH] Update quay retrieval of latest image --- .github/workflows/csm-release-driver-module.yaml | 2 +- .github/workflows/release-image.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"