Wire up more complete CI for releases

Flesh out our github actions CI so we can build official releaes.
This commit is contained in:
Daniel Hiltgen
2024-03-07 10:54:21 -08:00
parent 6ce37e4d96
commit 540f4af45f
5 changed files with 598 additions and 61 deletions

View File

@@ -101,6 +101,7 @@ ARG GOLANG_VERSION
WORKDIR /go/src/github.com/jmorganca/ollama
COPY . .
COPY --from=cuda-build-arm64 /go/src/github.com/jmorganca/ollama/llm/llama.cpp/build/linux/ llm/llama.cpp/build/linux/
RUN mkdir -p /go/src/github.com/jmorganca/ollama/dist/deps/
ARG GOFLAGS
ARG CGO_CFLAGS
RUN go build -trimpath .