fix: add scope to cache-to configuration in build workflow (#17)

This commit is contained in:
samanhappy
2025-04-18 16:30:42 +08:00
committed by GitHub
parent 85c461bbfa
commit b59243e410

View File

@@ -43,7 +43,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max,scope=${{ matrix.variant }}
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
build-args: | build-args: |
INSTALL_EXT=${{ matrix.variant == 'full' && 'true' || 'false' }} INSTALL_EXT=${{ matrix.variant == 'full' && 'true' || 'false' }}