This commit is contained in:
Kwitsch 2022-09-20 19:32:47 +02:00
parent c6bb7a81fe
commit 3dbdb12814
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ ENV CC="zigcc" \
GOARCH=$TARGETARCH
# build binary
RUN --mount=type=cache,target=/root/.cache/go-build \
RUN --mount=type=bind,target=. \
--mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
go build \
-tags static \