diff --git a/contrib/images/babylond/Dockerfile b/contrib/images/babylond/Dockerfile index f01a13508..71cd8c8bd 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 tag ${VERSION}; --no-tags \ + git fetch origin tag ${VERSION} --no-tags; \ git checkout -f ${VERSION}; \ fi