File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments