Skip to content

Commit

Permalink
HF_TOKEN removed
Browse files Browse the repository at this point in the history
  • Loading branch information
3x3cut0r authored Dec 20, 2024
1 parent ae16592 commit f92fe49
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/privategpt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 }}

0 comments on commit f92fe49

Please sign in to comment.