Skip to content

Commit

Permalink
ci: add docker cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedir Zadniprovskyi committed May 27, 2024
1 parent 56b662d commit 6e8a2c4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docker-build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- "master"
tags:
- 'v*'
release:
types: [published]

jobs:
docker:
Expand Down Expand Up @@ -50,6 +52,5 @@ jobs:
# TODO:
# platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
# TODO:
# cache-from: type=registry,ref=fedirz/faster-whisper-server:buildcache
# cache-to: type=registry,ref=fedirz/faster-whisper-server:buildcache,mode=max
cache-from: type=registry,ref=fedirz/faster-whisper-server:buildcache
cache-to: type=registry,ref=fedirz/faster-whisper-server:buildcache,mode=max

0 comments on commit 6e8a2c4

Please sign in to comment.