Spaces:
Running
Running
Adrien
commited on
remove-internal registry (#1336)
Browse filesSigned-off-by: Adrien <[email protected]>
- .github/workflows/deploy-prod.yml +4 -10
- chart/env/prod.yaml +2 -2
.github/workflows/deploy-prod.yml
CHANGED
@@ -10,17 +10,12 @@ jobs:
|
|
10 |
- name: Checkout
|
11 |
uses: actions/checkout@v4
|
12 |
|
13 |
-
- name: Tailscale
|
14 |
-
uses: huggingface/tailscale-action@main
|
15 |
-
with:
|
16 |
-
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
|
17 |
-
|
18 |
- name: Docker metadata
|
19 |
id: meta
|
20 |
uses: docker/metadata-action@v5
|
21 |
with:
|
22 |
images: |
|
23 |
-
|
24 |
tags: |
|
25 |
type=raw,value=latest,enable={{is_default_branch}}
|
26 |
type=sha,enable={{is_default_branch}}
|
@@ -29,11 +24,10 @@ jobs:
|
|
29 |
uses: docker/setup-buildx-action@v3
|
30 |
|
31 |
- name: Login to Registry
|
32 |
-
uses: docker/login-action@
|
33 |
with:
|
34 |
-
|
35 |
-
|
36 |
-
password: ${{ secrets.DOCKER_INTERNAL_PASSWORD }}
|
37 |
|
38 |
- name: Build and Publish HuggingChat image
|
39 |
uses: docker/build-push-action@v5
|
|
|
10 |
- name: Checkout
|
11 |
uses: actions/checkout@v4
|
12 |
|
|
|
|
|
|
|
|
|
|
|
13 |
- name: Docker metadata
|
14 |
id: meta
|
15 |
uses: docker/metadata-action@v5
|
16 |
with:
|
17 |
images: |
|
18 |
+
huggingface/chat-ui
|
19 |
tags: |
|
20 |
type=raw,value=latest,enable={{is_default_branch}}
|
21 |
type=sha,enable={{is_default_branch}}
|
|
|
24 |
uses: docker/setup-buildx-action@v3
|
25 |
|
26 |
- name: Login to Registry
|
27 |
+
uses: docker/login-action@v3
|
28 |
with:
|
29 |
+
username: ${{ secrets.DOCKERHUB_PASSWORD }}
|
30 |
+
password: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
31 |
|
32 |
- name: Build and Publish HuggingChat image
|
33 |
uses: docker/build-push-action@v5
|
chart/env/prod.yaml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
image:
|
2 |
-
repository:
|
3 |
name: chat-ui
|
4 |
|
5 |
nodeSelector:
|
@@ -286,7 +286,7 @@ envVars:
|
|
286 |
"name": "bge-base-en-v1-5-sxa",
|
287 |
"displayName": "bge-base-en-v1-5-sxa",
|
288 |
"chunkCharLength": 512,
|
289 |
-
"endpoints": [{
|
290 |
"type": "tei",
|
291 |
"url": "https://huggingchat-tei.hf.space/"
|
292 |
}]
|
|
|
1 |
image:
|
2 |
+
repository: huggingface/chat-ui
|
3 |
name: chat-ui
|
4 |
|
5 |
nodeSelector:
|
|
|
286 |
"name": "bge-base-en-v1-5-sxa",
|
287 |
"displayName": "bge-base-en-v1-5-sxa",
|
288 |
"chunkCharLength": 512,
|
289 |
+
"endpoints": [{
|
290 |
"type": "tei",
|
291 |
"url": "https://huggingchat-tei.hf.space/"
|
292 |
}]
|