Skip to content

Commit 799f175

Browse files
committed
hack: fix no-cache-filter on release
Signed-off-by: CrazyMax <[email protected]>
1 parent f6eb72f commit 799f175

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hack/images

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ done
109109

110110
nocacheFilterFlag=""
111111
if [[ "$RELEASE" = "true" ]] && [[ "$GITHUB_ACTIONS" = "true" ]]; then
112-
nocacheFilterFlag="--no-cache-filter=git,buildkit-export,gobuild-base"
112+
nocacheFilterFlag="--no-cache-filter=buildkit-export,gobuild-base"
113113
fi
114114

115115
buildxCmd build --build-arg BUILDKIT_DEBUG $platformFlag $targetFlag $importCacheFlags $exportCacheFlags $tagFlags $outputFlag $nocacheFilterFlag $attestFlags \

hack/release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ if ${BUILDX_CMD} build --help 2>&1 | grep -- '--attest' >/dev/null; then
5252
setFlags+=(--set "*.attest=type=provenance,$prvattrs")
5353
fi
5454
if [[ "$RELEASE" = "true" ]] && [[ "$GITHUB_ACTIONS" = "true" ]]; then
55-
setFlags+=(--set "*.no-cache-filter=git,gobuild-base")
55+
setFlags+=(--set "*.no-cache-filter=gobuild-base")
5656
fi
5757

5858
output=$(mktemp -d -t buildkit-output.XXXXXXXXXX)

0 commit comments

Comments
 (0)