Merge pull request #1123 from skrashevich/fix-vcs-tags-in-docker-builds

add git to build stage
This commit is contained in:
Alex X
2024-05-18 16:20:42 +03:00
committed by GitHub
+2
View File
@@ -20,6 +20,8 @@ ENV GOARCH=${TARGETARCH}
WORKDIR /build
RUN apk add git
# Cache dependencies
COPY go.mod go.sum ./
RUN --mount=type=cache,target=/root/.cache/go-build go mod download