From f92fe498a1adf80ec21f4c756410352e26358710 Mon Sep 17 00:00:00 2001 From: 3x3cut0r Date: Fri, 20 Dec 2024 15:15:38 +0100 Subject: [PATCH] HF_TOKEN removed --- .github/workflows/privategpt.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/privategpt.yml b/.github/workflows/privategpt.yml index 22fd179..dd2e4d9 100644 --- a/.github/workflows/privategpt.yml +++ b/.github/workflows/privategpt.yml @@ -63,7 +63,7 @@ jobs: - name: Build and Tag id: tag run: | - docker build -t 3x3cut0r/privategpt:latest --build-arg HUGGINGFACE_ACCESS_TOKEN=${{ secrets.HUGGINGFACE_ACCESS_TOKEN }} ./privategpt + docker build -t 3x3cut0r/privategpt:latest ./privategpt CONTAINER_ID=$(docker create 3x3cut0r/privategpt:latest) docker cp "${CONTAINER_ID}:/VERSION" VERSION VERSION=$(cat VERSION | grep privategpt | cut -d= -f2 | head -n 1) @@ -94,8 +94,6 @@ jobs: file: ./privategpt/Dockerfile platforms: linux/amd64,linux/arm64 push: true - build-args: | - HUGGINGFACE_ACCESS_TOKEN=${{ secrets.HUGGINGFACE_ACCESS_TOKEN }} tags: | 3x3cut0r/privategpt:latest 3x3cut0r/privategpt:${{ steps.tag.outputs.VERSION }}