diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 17703d9f..a69988ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -109,6 +109,7 @@ jobs: run: echo "hash=$(sha256sum Dockerfile.linux | awk '{ print $1 }')" >> $GITHUB_OUTPUT - uses: actions/cache@v4 id: docker_cache + if: "!startsWith(github.ref, 'refs/tags/v')" with: path: /tmp/linux-docker-image key: linux-docker-${{ steps.dockerfile_linux_hash.outputs.hash }} @@ -154,6 +155,7 @@ jobs: run: echo "hash=$(sha256sum Dockerfile.windows | awk '{ print $1 }')" >> $GITHUB_OUTPUT - uses: actions/cache@v4 id: docker_cache + if: "!startsWith(github.ref, 'refs/tags/v')" with: path: /tmp/windows-docker-image key: windows-docker-${{ steps.dockerfile_windows_hash.outputs.hash }} @@ -197,6 +199,7 @@ jobs: run: echo "hash=$(sha256sum Dockerfile.android | awk '{ print $1 }')" >> $GITHUB_OUTPUT - uses: actions/cache@v4 id: docker_cache + if: "!startsWith(github.ref, 'refs/tags/v')" with: path: /tmp/android-docker-image key: android-docker-${{ steps.dockerfile_android_hash.outputs.hash }}