Skip to content

Commit

Permalink
only push main builds
Browse files Browse the repository at this point in the history
  • Loading branch information
gorkemgoknar committed Oct 30, 2023
1 parent 4d48b9c commit ed7a886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push-to-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
uses: docker/build-push-action@v5
with:
file: server/Dockerfile
push: true
push: ${{ env.RELEASE_VERSION }}=="main"
cache-from: type=registry,ref=ghcr.io/coqui-ai/xtts-streaming-server:latest
cache-to: type=registry,ref=ghcr.io/coqui-ai/xtts-streaming-server:latest
tags: coqui-ai/xtts-streaming-server:latest, ${{ GHCR_URL }}:${{ env.RELEASE_VERSION }}-${{ github.sha }}
tags: coqui-ai/xtts-streaming-server:latest
#build-args:

0 comments on commit ed7a886

Please sign in to comment.