Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
3f0cb36b
Commit
3f0cb36b
authored
Jan 30, 2025
by
Michael Yang
Browse files
build: set goflags in linux release
parent
bea1f1fa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.github/workflows/release.yaml
.github/workflows/release.yaml
+1
-1
No files found.
.github/workflows/release.yaml
View file @
3f0cb36b
...
@@ -291,7 +291,7 @@ jobs:
...
@@ -291,7 +291,7 @@ jobs:
-
uses
:
docker/setup-buildx-action@v3
-
uses
:
docker/setup-buildx-action@v3
-
run
:
|
-
run
:
|
apt-get update && apt-get install pigz
apt-get update && apt-get install pigz
for TARGET in ${{ matrix.targets }}; do docker buildx build --platform $PLATFORM --target $TARGET --output type=local,dest=dist/$PLATFORM .; done
for TARGET in ${{ matrix.targets }}; do docker buildx build --platform $PLATFORM --target $TARGET
--build-arg GOFLAGS
--output type=local,dest=dist/$PLATFORM .; done
tar c -C dist/$PLATFORM . | pigz -9cv >dist/ollama-${PLATFORM//\//-}.tgz
tar c -C dist/$PLATFORM . | pigz -9cv >dist/ollama-${PLATFORM//\//-}.tgz
env
:
env
:
PLATFORM
:
${{ matrix.os }}/${{ matrix.arch }}
PLATFORM
:
${{ matrix.os }}/${{ matrix.arch }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment