diff --git a/contrib/images/babylond/Dockerfile b/contrib/images/babylond/Dockerfile index 50f7857b8..f01a13508 100644 --- a/contrib/images/babylond/Dockerfile +++ b/contrib/images/babylond/Dockerfile @@ -20,7 +20,7 @@ RUN go mod download COPY ./ /go/src/github.com/babylonlabs-io/babylon/ # If version is set, then checkout this version RUN if [ -n "${VERSION}" ]; then \ - git fetch origin ${VERSION}; \ + git fetch origin tag ${VERSION}; --no-tags \ git checkout -f ${VERSION}; \ fi