Skip to content

Commit 20c3c59

Browse files
feat(router): refactor API and add openAPI schemas (#53)
1 parent b1482d9 commit 20c3c59

38 files changed

+1350
-491
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
push:
66
branches:
77
- 'main'
8+
tags:
9+
- 'v*'
810
pull_request:
911
branches:
1012
- 'main'
@@ -43,6 +45,8 @@ jobs:
4345
ghcr.io/huggingface/text-generation-inference
4446
registry.internal.huggingface.tech/api-inference/community/text-generation-inference
4547
tags: |
48+
type=semver,pattern={{version}}
49+
type=semver,pattern={{major}}.{{minor}}
4650
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
4751
type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}
4852
- name: Build and push Docker image

Cargo.lock

Lines changed: 177 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ members = [
44
"router/client",
55
"launcher"
66
]
7-
exclude = [
8-
"server/safetensors",
9-
]
107

118
[profile.release]
129
debug = 1

0 commit comments

Comments
 (0)