瀏覽代碼

push build cache to registry as well

Christian Winther 1 年之前
父節點
當前提交
ae358e47cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/docker.yml

+ 1 - 1
.github/workflows/docker.yml

@@ -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
       #