

ci: add docker cache
@6e8a2c4fd842b14064a32fe072dd0139a0365b62
--- .github/workflows/docker-build-and-push.yaml
+++ .github/workflows/docker-build-and-push.yaml
... | ... | @@ -7,6 +7,8 @@ |
7 | 7 |
- "master" |
8 | 8 |
tags: |
9 | 9 |
- 'v*' |
10 |
+ release: |
|
11 |
+ types: [published] |
|
10 | 12 |
|
11 | 13 |
jobs: |
12 | 14 |
docker: |
... | ... | @@ -50,6 +52,5 @@ |
50 | 52 |
# TODO: |
51 | 53 |
# platforms: linux/amd64,linux/arm64 |
52 | 54 |
tags: ${{ steps.meta.outputs.tags }} |
53 |
- # TODO: |
|
54 |
- # cache-from: type=registry,ref=fedirz/faster-whisper-server:buildcache |
|
55 |
- # cache-to: type=registry,ref=fedirz/faster-whisper-server:buildcache,mode=max |
|
55 |
+ cache-from: type=registry,ref=fedirz/faster-whisper-server:buildcache |
|
56 |
+ cache-to: type=registry,ref=fedirz/faster-whisper-server:buildcache,mode=max |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?