diff options
author | Till Faelligen <2353100+S7evinK@users.noreply.github.com> | 2022-11-04 11:54:53 +0100 |
---|---|---|
committer | Till Faelligen <2353100+S7evinK@users.noreply.github.com> | 2022-11-04 11:54:53 +0100 |
commit | eeabe892a906455430ca44577afa949e6ab95d95 (patch) | |
tree | 5d78d4789d27ffd66bf21df48b124326b0b059e5 /Dockerfile | |
parent | 98d3f88bfbfaa23aa4ca63abf9c980b39425cd24 (diff) |
Cache go mod directory
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" \ |