From 4a9ca18a06a4ec3723173b4ccff90cc76a0ccb2c Mon Sep 17 00:00:00 2001 From: Florian Amsallem Date: Thu, 28 Nov 2024 17:07:35 +0100 Subject: [PATCH] ci: disable cache for release Signed-off-by: Florian Amsallem --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 742497b7fcf..2c6df215074 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,10 @@ jobs: GITHUB_CONTEXT: ${{ toJson(github) }} run: | set -eo pipefail + + # disable cache mounts as github cache is slow + find -name Dockerfile -print0 | xargs -0 sed -Ei 's/--mount=type=cache,target=[^[:blank:]]+//g' + echo ::group::Github context python3 -m json.tool <<< "${GITHUB_CONTEXT}" echo ::endgroup::