From 7501fee44862fe69197bb750aa88317e1cf66a61 Mon Sep 17 00:00:00 2001 From: yusing Date: Mon, 24 Feb 2025 03:32:15 +0800 Subject: [PATCH] cicd: fix workflow --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index e5b28c4..8cedd05 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -78,9 +78,9 @@ jobs: labels: ${{ steps.meta.outputs.labels }} outputs: type=image,name=${{ env.REGISTRY }}/${{ inputs.image_name }},push-by-digest=true,name-canonical=true,push=true cache-from: | - type=registry,ref=${{ env.REGISTRY }}/${{ inputs.image_name }}:buildcache-${{ matrix.platform }}-${{ inputs.tag }} + type=registry,ref=${{ env.REGISTRY }}/${{ inputs.image_name }}:buildcache-${{ env.PLATFORM_PAIR }}-${{ inputs.tag }} cache-to: | - type=registry,ref=${{ env.REGISTRY }}/${{ inputs.image_name }}:buildcache-${{ matrix.platform }}-${{ inputs.tag }},mode=max + type=registry,ref=${{ env.REGISTRY }}/${{ inputs.image_name }}:buildcache-${{ env.PLATFORM_PAIR }}-${{ inputs.tag }},mode=max build-args: | VERSION=${{ github.ref_name }} MAKE_ARGS=${{ env.MAKE_ARGS }}