From 43d21cd08203718808b7b27a2b7b7e88bca08a04 Mon Sep 17 00:00:00 2001 From: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> Date: Wed, 13 Dec 2023 18:00:10 +0800 Subject: [PATCH] :construction_worker: update image build cache scope --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7229890..c475cc46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,7 +74,7 @@ jobs: id: image run: | echo "IMAGE=${GITHUB_REPOSITORY@L}" >> $GITHUB_OUTPUT - echo "SCOPE=${{ env.GITHUB_REF_NAME }}-${{ matrix.platform }}" >> $GITHUB_OUTPUT + echo "SCOPE=${{ hashFiles('**/poetry.lock') }}-${{ matrix.platform }}" >> $GITHUB_OUTPUT - name: Generate Labels uses: docker/metadata-action@v5