push build cache to registry as well

This commit is contained in:
Christian Winther 2024-02-22 13:25:56 +00:00
parent 26d6f8f9fe
commit 14f8478e6a

View file

@ -193,7 +193,7 @@ jobs:
type=gha,scope=${{ matrix.target_runtime }}-${{ matrix.php_base }}-${{ matrix.php_version }}
cache-to: |
type=gha,mode=max,scope=${{ matrix.target_runtime }}-${{ matrix.php_base }}-${{ matrix.php_version }}
type=registry,ref=${{ matrix.target_runtime }}-${{ matrix.php_base }}-${{ matrix.php_version }}-cache
type=registry,ref=ghcr.io/${{ github.repository }}-cache:${{ matrix.target_runtime }}-${{ matrix.php_base }}-${{ matrix.php_version }}
# goss validate the image
#