Skip to content

Commit 787a8fa

Browse files
committed
fixes
1 parent ee47b69 commit 787a8fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
run: |
6666
# This step only echoes the expression into an output, evaluated by Actions
6767
# Use the same hashFiles() pattern you used in your build step.
68-
echo "scope_hash=${{ hashFiles(format('Dockerfile-{0}', matrix.variant)) }}" >> $GITHUB_OUTPUT
68+
echo "scope_hash=${{ hashFiles(format('Dockerfile-{0}', inputs.variant)) }}" >> $GITHUB_OUTPUT
6969
- name: Build PHP ${{ inputs.version }} ${{ inputs.variant }} (use cache)
7070
if: ${{ github.event_name != 'workflow_dispatch' }}
7171
uses: docker/build-push-action@v6
@@ -77,7 +77,7 @@ jobs:
7777
builder: ${{ steps.buildx.outputs.name }}
7878
platforms: linux/amd64,linux/arm64
7979
cache-from: type=gha,scope=${{ github.event.repository.name }}-${{ inputs.variant }}-${{ inputs.version }}-${{ github.ref_name }}-${{ steps.compute_hash.outputs.scope_hash }}
80-
cache-to: type=gha,mode=max,scope=${{ github.event.repository.name }}-${{ inputs.variant }}-${{ inputs.version }}-${{ github.ref_name }}-${{ steps.compute_hash.outputs.scope_hash }}
80+
cache-to: type=gha,scope=${{ github.event.repository.name }}-${{ inputs.variant }}-${{ inputs.version }}-${{ github.ref_name }}-${{ steps.compute_hash.outputs.scope_hash }}
8181
provenance: true
8282
sbom: true
8383
push: true

0 commit comments

Comments
 (0)