diff --git a/.github/actions/build/action.yaml b/.github/actions/build/action.yaml index 4ce096c9..6bf0d082 100644 --- a/.github/actions/build/action.yaml +++ b/.github/actions/build/action.yaml @@ -59,8 +59,8 @@ runs: platforms: ${{ matrix.platform }} labels: ${{ steps.meta.outputs.labels }} tags: ${{ steps.docker_meta.outputs.tags }} - cache-from: type=registry,ref=ghcr.io/${{ inputs.repository }}:buildcache-${{ matrix.cache_id }}-${{ replace(inputs.version, '/', '-') }} - cache-to: type=registry,ref=ghcr.io/${{ inputs.repository }}:buildcache-${{ matrix.cache_id }}-${{ replace(inputs.version, '/', '-') }},mode=max + cache-from: type=registry,ref=ghcr.io/${{ inputs.repository }}:buildcache-${{ matrix.cache_id }}-${{ inputs.version }} + cache-to: type=registry,ref=ghcr.io/${{ inputs.repository }}:buildcache-${{ matrix.cache_id }}-${{ inputs.version }},mode=max outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true - name: Export digest shell: bash