Skip to content

Commit

Permalink
fixes main build cache ref
Browse files Browse the repository at this point in the history
pr will use cache but will not update
  • Loading branch information
gorkemgoknar committed Oct 30, 2023
1 parent 996ea36 commit a90c1a8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-and-push-to-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ jobs:
file: Dockerfile
push: false
cache-from: type=registry,ref=ghcr.io/coqui-ai/xtts-streaming-server:latest-cache
cache-to: type=registry,ref=ghcr.io/coqui-ai/xtts-streaming-server:latest-cache
tags: coqui-ai/xtts-streaming-server:latest
tags: coqui-ai/xtts-streaming-server:${{ env.RELEASE_VERSION }}-${{ github.sha }}
#build-args:

- name: Build and Push image
Expand All @@ -50,8 +49,8 @@ jobs:
context: "{{defaultContext}}:server"
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
cache-from: type=registry,ref=ghcr.io/coqui-ai/xtts-streaming-server:latest-cache
cache-to: type=registry,ref=ghcr.io/coqui-ai/xtts-streaming-server:latest-cache
tags: coqui-ai/xtts-streaming-server:latest, coqui-ai/xtts-streaming-server:${{ env.RELEASE_VERSION }}-${{ github.sha }}
#build-args:

0 comments on commit a90c1a8

Please sign in to comment.