Skip to content

Commit

Permalink
remove-internal registry
Browse files Browse the repository at this point in the history
Signed-off-by: Adrien <[email protected]>
  • Loading branch information
XciD committed Jul 9, 2024
1 parent 298e07d commit 122b231
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Tailscale
uses: huggingface/tailscale-action@main
with:
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}

- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
registry.internal.huggingface.tech/chat-ui/chat-ui
huggingface/chat-ui
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=sha,enable={{is_default_branch}}
Expand All @@ -29,11 +24,10 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Login to Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: registry.internal.huggingface.tech
username: ${{ secrets.DOCKER_INTERNAL_USERNAME }}
password: ${{ secrets.DOCKER_INTERNAL_PASSWORD }}
username: ${{ secrets.DOCKERHUB_PASSWORD }}
password: ${{ secrets.DOCKERHUB_USERNAME }}

- name: Build and Publish HuggingChat image
uses: docker/build-push-action@v5
Expand Down
4 changes: 2 additions & 2 deletions chart/env/prod.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
image:
repository: registry.internal.huggingface.tech/chat-ui
repository: huggingface/chat-ui
name: chat-ui

nodeSelector:
Expand Down Expand Up @@ -286,7 +286,7 @@ envVars:
"name": "bge-base-en-v1-5-sxa",
"displayName": "bge-base-en-v1-5-sxa",
"chunkCharLength": 512,
"endpoints": [{
"endpoints": [{
"type": "tei",
"url": "https://huggingchat-tei.hf.space/"
}]
Expand Down

0 comments on commit 122b231

Please sign in to comment.