Skip to content

Commit

Permalink
fix: fetch tag of docker
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Aug 7, 2024
1 parent ea74d03 commit 30b9fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/images/babylond/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 30b9fd4

Please sign in to comment.