diff --git a/ollama.yaml b/ollama.yaml new file mode 100644 index 000000000000..0b58773bdbab --- /dev/null +++ b/ollama.yaml @@ -0,0 +1,37 @@ +package: + name: ollama + version: 0.0.16 + epoch: 0 + description: Get up and running with Llama 2 and other large language models locally + copyright: + - license: MIT + +environment: + contents: + packages: + - ca-certificates-bundle + - busybox + - build-base + - go + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/jmorganca/ollama + tag: v${{package.version}} + expected-commit: 177b69a211755537dc9bb8fe548ba3f596e8e3c5 + + - runs: | + CGO_ENABLED=1 go build -ldflags '-linkmode external -extldflags "-static"' . + mkdir -p ${{targets.destdir}}/usr/bin + mv ollama ${{targets.destdir}}/usr/bin + + - uses: strip + +update: + enabled: true + github: + identifier: jmorganca/ollama + strip-prefix: v + tag-filter: v + use-tag: true