Skip to content

Commit

Permalink
use workdir
Browse files Browse the repository at this point in the history
  • Loading branch information
gorkemgoknar committed Oct 30, 2023
1 parent 91972c6 commit 254bdd4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-and-push-to-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ jobs:
- name: Build only for PR
if: github.ref != 'refs/heads/main'
uses: docker/build-push-action@v5
working-directory: ./server
with:
file: ./server/Dockerfile
file: Dockerfile
push: 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
Expand All @@ -44,8 +45,9 @@ jobs:
- name: Build and Push image
if: github.ref == 'refs/heads/main'
uses: docker/build-push-action@v5
working-directory: ./server
with:
file: server/Dockerfile
file: Dockerfile
push: 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
Expand Down

0 comments on commit 254bdd4

Please sign in to comment.