Skip to content

Commit

Permalink
Merge pull request #5302 from crazy-max/dockerfile-rootless-cache
Browse files Browse the repository at this point in the history
hack: do not cache rootless stage on release
  • Loading branch information
crazy-max committed Sep 6, 2024
2 parents 3a9ce1d + b0e8368 commit 436609d
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 436609d

Please sign in to comment.