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 source
|
||||||
ADD . .
|
ADD . .
|
||||||
|
|
||||||
ENV GOCACHE /root/.cache/go-build/$BUILDPLATFORM
|
|
||||||
|
|
||||||
# build binary
|
# build binary
|
||||||
RUN --mount=type=cache,target=/root/.cache/go-build,sharing=locked \
|
RUN --mount=type=cache,target=/root/.cache/go-build,sharing=locked \
|
||||||
|
GOCACHE=/root/.cache/go-build/$BUILDPLATFORM \
|
||||||
go build \
|
go build \
|
||||||
-mod=vendor \
|
-mod=vendor \
|
||||||
-tags static \
|
-tags static \
|
||||||
|
|
Loading…
Reference in New Issue