Skip to content

Commit

Permalink
hack: do not cache rootless stage on release
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Sep 5, 2024
1 parent fd09e47 commit b0e8368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/images
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ done

nocacheFilterFlag=""
if [[ "$RELEASE" = "true" ]] && [[ "$GITHUB_ACTIONS" = "true" ]]; then
nocacheFilterFlag="--no-cache-filter=buildkit-export,gobuild-base"
nocacheFilterFlag="--no-cache-filter=buildkit-export,gobuild-base,rootless"
fi

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

0 comments on commit b0e8368

Please sign in to comment.