Skip to content

Commit 09059fb

Browse files
committed
chore(docker): update cache mount path for Go modules in Dockerfile
1 parent 9d7d49e commit 09059fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ARG TARGETOS
1313
ARG TARGETARCH
1414

1515
RUN --mount=type=cache,target=/root/.cache/go-build \
16-
--mount=type=cache,target=/go/pkg \
16+
--mount=type=cache,target=/go/pkg/mod \
1717
GOOS=$TARGETOS GOARCH=$TARGETARCH \
1818
go build -trimpath \
1919
-ldflags "-s -w \

0 commit comments

Comments
 (0)