From e84eed23970d0a440c9c9da9fe35b00885460b56 Mon Sep 17 00:00:00 2001 From: Adrien Date: Tue, 9 Jul 2024 21:58:41 +0200 Subject: [PATCH] remove-internal registry (#1336) Signed-off-by: Adrien --- .github/workflows/deploy-prod.yml | 14 ++++---------- chart/env/prod.yaml | 4 ++-- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 15a3fdf962c..2f41aa7beb7 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -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}} @@ -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 diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index a1658c389dc..14c0afc04a1 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -1,5 +1,5 @@ image: - repository: registry.internal.huggingface.tech/chat-ui + repository: huggingface/chat-ui name: chat-ui nodeSelector: @@ -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/" }]