add libmozhi to GOPRIVATE

This commit is contained in:
2023-09-11 14:15:27 +05:30
parent 583288bf01
commit 4b3cabcd5b
3 changed files with 3 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ WORKDIR /src
RUN apk --no-cache add git
COPY . .
ENV GOPRIVATE=codeberg.org/aryak/libmozhi
RUN go mod download
RUN go run github.com/swaggo/swag/cmd/swag@latest init --parseDependency
RUN GOOS=linux GOARCH=$TARGETARCH go build -o /src/mozhi