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 ed7a886 commit eca923e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-to-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: docker/build-push-action@v5
with:
file: server/Dockerfile
push: ${{ env.RELEASE_VERSION }}=="main"
push: true if ${{ env.RELEASE_VERSION }}=="main" else false
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
Expand Down

0 comments on commit eca923e

Please sign in to comment.