mirror of
https://codeberg.org/aryak/mozhi
synced 2024-12-25 22:09:53 +05:30
trying to fix CI
This commit is contained in:
parent
084aa94c3b
commit
c233475390
@ -7,11 +7,11 @@ RUN apk --no-cache add git
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
ENV GOPRIVATE=codeberg.org/aryak/libmozhi
|
ENV GOPRIVATE=codeberg.org/aryak/libmozhi
|
||||||
RUN go mod download
|
#RUN go mod download
|
||||||
RUN go run github.com/swaggo/swag/cmd/swag@latest init --parseDependency
|
RUN go run github.com/swaggo/swag/cmd/swag@latest init --parseDependency
|
||||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH go build -o /src/mozhi
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH go build -o /src/mozhi
|
||||||
|
|
||||||
FROM alpine:3.16 as bin
|
FROM alpine:3.16 AS bin
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build /src/mozhi .
|
COPY --from=build /src/mozhi .
|
||||||
|
Loading…
Reference in New Issue
Block a user