From 799f175f8f74c1e426c06ba14de4a13e98f7142a Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 8 Aug 2024 10:14:02 +0200 Subject: [PATCH] hack: fix no-cache-filter on release Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- hack/images | 2 +- hack/release | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/images b/hack/images index 1bb475cd3b88..088a7465ee4b 100755 --- a/hack/images +++ b/hack/images @@ -109,7 +109,7 @@ done nocacheFilterFlag="" if [[ "$RELEASE" = "true" ]] && [[ "$GITHUB_ACTIONS" = "true" ]]; then - nocacheFilterFlag="--no-cache-filter=git,buildkit-export,gobuild-base" + nocacheFilterFlag="--no-cache-filter=buildkit-export,gobuild-base" fi buildxCmd build --build-arg BUILDKIT_DEBUG $platformFlag $targetFlag $importCacheFlags $exportCacheFlags $tagFlags $outputFlag $nocacheFilterFlag $attestFlags \ diff --git a/hack/release b/hack/release index 449971e33239..83a1d054ecd5 100755 --- a/hack/release +++ b/hack/release @@ -52,7 +52,7 @@ if ${BUILDX_CMD} build --help 2>&1 | grep -- '--attest' >/dev/null; then setFlags+=(--set "*.attest=type=provenance,$prvattrs") fi if [[ "$RELEASE" = "true" ]] && [[ "$GITHUB_ACTIONS" = "true" ]]; then - setFlags+=(--set "*.no-cache-filter=git,gobuild-base") + setFlags+=(--set "*.no-cache-filter=gobuild-base") fi output=$(mktemp -d -t buildkit-output.XXXXXXXXXX)