Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions ollama.yaml
Original file line number Diff line number Diff line change
@@ -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"' .
Comment thread
dlorenc marked this conversation as resolved.
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