mirror of https://github.com/0xERR0R/blocky.git
env var fix
This commit is contained in:
parent
64c92249fe
commit
d2e66b8343
|
@ -35,10 +35,9 @@ WORKDIR /go/src
|
|||
# add source
|
||||
ADD . .
|
||||
|
||||
ENV GOCACHE /root/.cache/go-build/$BUILDPLATFORM
|
||||
|
||||
# build binary
|
||||
RUN --mount=type=cache,target=/root/.cache/go-build,sharing=locked \
|
||||
GOCACHE=/root/.cache/go-build/$BUILDPLATFORM \
|
||||
go build \
|
||||
-mod=vendor \
|
||||
-tags static \
|
||||
|
|
Loading…
Reference in New Issue