trying to fix CI
This commit is contained in:
parent
084aa94c3b
commit
c233475390
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue