Skip to content

Commit 6cd0e61

Browse files
author
Piotr Stankiewicz
committed
Parametrise llama-server version in release pipeline
Signed-off-by: Piotr Stankiewicz <[email protected]>
1 parent 6b8c3b8 commit 6cd0e61

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ on:
1414
required: false
1515
type: string
1616
default: "test"
17+
llamaServerVersion:
18+
description: 'llama-server version'
19+
required: false
20+
type: string
21+
default: "latest"
1722

1823
jobs:
1924
test:
@@ -75,7 +80,7 @@ jobs:
7580
file: Dockerfile
7681
platforms: linux/amd64, linux/arm64
7782
build-args: |
78-
"LLAMA_SERVER_VERSION=latest"
83+
"LLAMA_SERVER_VERSION=${{ inputs.llamaServerVersion }}"
7984
push: true
8085
sbom: true
8186
provenance: mode=max
@@ -87,7 +92,7 @@ jobs:
8792
file: Dockerfile
8893
platforms: linux/amd64, linux/arm64
8994
build-args: |
90-
"LLAMA_SERVER_VERSION=latest"
95+
"LLAMA_SERVER_VERSION=${{ inputs.llamaServerVersion }}"
9196
"LLAMA_SERVER_VARIANT=cuda"
9297
"BASE_IMAGE=nvidia/cuda:12.9.0-runtime-ubuntu24.04"
9398
push: true

0 commit comments

Comments
 (0)