0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-06-13 18:08:59 +02:00

Cache go mod directory

This commit is contained in:
Till Faelligen 2022-11-04 11:54:53 +01:00
parent 98d3f88bfb
commit eeabe892a9
No known key found for this signature in database
GPG key ID: ACCDC9606D472758

View file

@ -16,6 +16,7 @@ ARG TARGETARCH
ARG FLAGS
RUN --mount=target=. \
--mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg/mod \
USERARCH=`go env GOARCH` \
GOARCH="$TARGETARCH" \
GOOS="linux" \