[test] arm build

This commit is contained in:
sentriz
2021-02-08 23:18:46 +00:00
parent 31ee0fe8bc
commit f73e1a0c99

View File

@@ -11,6 +11,9 @@ COPY go.mod .
COPY go.sum . COPY go.sum .
RUN go mod download RUN go mod download
COPY . . COPY . .
ARG TARGETOS
ARG TARGETARCH
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} ./_do_gen_assets RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} ./_do_gen_assets
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} ./_do_build_server RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} ./_do_build_server