Skip to content

Commit

Permalink
use authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
gorkemgoknar committed Oct 30, 2023
1 parent ab9527e commit 82b744c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-push-to-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches: [main]
pull_request:
env:
GHCR_URL: ghcr.io/coqui-ai/xtts-streaming-server
GITHUB_OAUTH_TOKEN: ${{ secrets.GH_TOKEN }}
jobs:
build-and-push-to-ghcr:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -42,5 +42,6 @@ jobs:
cache-from: type=registry,ref=ghcr.io/coqui-ai/xtts-streaming-server:cache-latest
cache-to: type=registry,ref=ghcr.io/coqui-ai/xtts-streaming-server:cache-latest
tags: coqui-ai/xtts-streaming-server:latest, coqui-ai/xtts-streaming-server:main-${{ github.sha }}
#build-args:
build-args: |
GITHUB_OAUTH_TOKEN=${{ env.GITHUB_OAUTH_TOKEN }}

0 comments on commit 82b744c

Please sign in to comment.