Spaces:
Paused
Paused
YagUber commited on
Commit ·
39d6c04
1
Parent(s): 9784e1c
ci: switch release build cache to ghcr registry backend
Browse files
.github/workflows/release.yml
CHANGED
|
@@ -48,8 +48,8 @@ jobs:
|
|
| 48 |
file: Containerfile
|
| 49 |
platforms: ${{ matrix.platform }}
|
| 50 |
outputs: type=image,"name=ghcr.io/${{ steps.meta.outputs.image_name }},${{ secrets.DOCKERHUB_USERNAME }}/openposterdb",push-by-digest=true,name-canonical=true,push=true
|
| 51 |
-
cache-from: type=
|
| 52 |
-
cache-to: type=
|
| 53 |
|
| 54 |
- name: Export digest
|
| 55 |
run: |
|
|
|
|
| 48 |
file: Containerfile
|
| 49 |
platforms: ${{ matrix.platform }}
|
| 50 |
outputs: type=image,"name=ghcr.io/${{ steps.meta.outputs.image_name }},${{ secrets.DOCKERHUB_USERNAME }}/openposterdb",push-by-digest=true,name-canonical=true,push=true
|
| 51 |
+
cache-from: type=registry,ref=ghcr.io/${{ steps.meta.outputs.image_name }}-buildcache:${{ steps.meta.outputs.platform_pair }}
|
| 52 |
+
cache-to: type=registry,ref=ghcr.io/${{ steps.meta.outputs.image_name }}-buildcache:${{ steps.meta.outputs.platform_pair }},compression=zstd,mode=max
|
| 53 |
|
| 54 |
- name: Export digest
|
| 55 |
run: |
|