Skip to content

Commit 02fe225

Browse files
maschwenkclaude
andcommitted
Fix printSaveHelp to include --project in pull-token command
The save help text was showing `depot pull-token` without the required --project flag, making the suggested command fail. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ce0ec44 commit 02fe225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/buildx/commands/bake.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ func printSaveHelp(project, buildID, progressMode string, requestedTargets, addi
684684

685685
if len(additionalTags) > 1 {
686686
fmt.Fprintf(os.Stderr, "\tTo pull save-tags:\n")
687-
fmt.Fprintf(os.Stderr, "\t\tdocker login registry.depot.dev -u x-token -p $(depot pull-token)\n")
687+
fmt.Fprintf(os.Stderr, "\t\tdocker login registry.depot.dev -u x-token -p $(depot pull-token --project %s)\n", project)
688688
fmt.Fprintln(os.Stderr)
689689

690690
// the api will send multiple of the same tag back for each target

0 commit comments

Comments
 (0)