Skip to content

Commit

Permalink
drop --all flag out of caution
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Pennebaker committed May 19, 2023
1 parent a259836 commit 3492ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clean.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
// RemoveBuildxImageCache deletes any images/layers in the active buildx cache.
func RemoveBuildxImageCache(debug bool) error {
cmd := exec.Command("docker")
cmd.Args = []string{"docker", "buildx", "prune", "--force", "--all"}
cmd.Args = []string{"docker", "buildx", "prune", "--force"}
cmd.Env = os.Environ()
cmd.Stderr = os.Stderr
cmd.Stdout = os.Stdout
Expand Down

0 comments on commit 3492ae1

Please sign in to comment.