From 9f0825873dd71f09cd0c39caaa04c9fd0088f8fa Mon Sep 17 00:00:00 2001 From: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com> Date: Thu, 9 Nov 2023 18:33:19 +0100 Subject: [PATCH] fix: Fix Dockerfile.gaia not pulling the latest version (#1397) Fix Dockerfile.gaia: use latest tag --- Dockerfile.gaia | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.gaia b/Dockerfile.gaia index b9f6ff007f..40dbd98da7 100644 --- a/Dockerfile.gaia +++ b/Dockerfile.gaia @@ -29,7 +29,7 @@ RUN if [ -n "${GAIA_TAG}" ]; \ then git checkout "${GAIA_TAG}"; \ # if GAIA_TAG is not set, build the latest tagged version else \ - git checkout $(git tag | tail -1); \ + git checkout $(git tag | sort -Vr | head -n1); \ fi # Also replace sdk version in the go.mod if specified