trying to fix CI

This commit is contained in:
Arya Kiran 2024-07-19 20:25:58 +05:30
parent 084aa94c3b
commit c233475390
No known key found for this signature in database
GPG key ID: 842D12BDA50DF120

View file

@ -7,11 +7,11 @@ RUN apk --no-cache add git
COPY . .
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 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
COPY --from=build /src/mozhi .