push build cache to registry as well

This commit is contained in:
Christian Winther 2024-02-22 13:38:27 +00:00
parent 14f8478e6a
commit ae358e47cb

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=ghcr.io/${{ github.repository }}-cache:${{ matrix.target_runtime }}-${{ matrix.php_base }}-${{ matrix.php_version }}
type=registry,ref=ghcr.io/${{ github.repository }}-cache:${{ steps.meta.outputs.tags }}
# goss validate the image
#