switch package source from ggerganov to ggml-org

This commit is contained in:
Benson Wong
2025-02-15 18:18:37 -08:00
parent 48bd766536
commit 3f462da146

View File

@@ -31,7 +31,7 @@ if [ "$ARCH" == "cpu" ]; then
docker push ${CONTAINER_LATEST} docker push ${CONTAINER_LATEST}
else else
LCPP_TAG=$(curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \ LCPP_TAG=$(curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
"https://api.github.com/users/ggerganov/packages/container/llama.cpp/versions" \ "https://api.github.com/users/ggml-org/packages/container/llama.cpp/versions" \
| jq -r --arg arch "$ARCH" '.[] | select(.metadata.container.tags[] | startswith("server-\($arch)")) | .metadata.container.tags[]' \ | jq -r --arg arch "$ARCH" '.[] | select(.metadata.container.tags[] | startswith("server-\($arch)")) | .metadata.container.tags[]' \
| sort -r | head -n1 | awk -F '-' '{print $3}') | sort -r | head -n1 | awk -F '-' '{print $3}')